informix
INFORMIX-ESQL/C Programmer's Manual
INFORMIX-ESQL/C Data Types

Data-Type Alignment Library Functions

The following ESQL/C library functions provide machine-independent size and alignment information for different data types and help you work with null database values.

Function Name Description Page Reference
risnull()) Checks whether a C variable is null B-321
rsetnull() Sets a C variable to null B-330
rtypalign() Aligns data on proper type boundaries B-344
rtypmsize() Gives the byte size of SQL data types B-347
rtypname() Returns the name of a specified SQL data type B-350
rtypwidth() Returns the minimum number of characters that a character data type needs to avoid truncation B-353

When you compile your ESQL/C program with the esql command, esql calls on the linker to link these functions to your program. The library functions are located in Appendix B, ESQL/C Function Library.


INFORMIX-ESQL/C Programmer's Manual, Version 9.21
Copyright © 1999, Informix Software, Inc. All rights reserved