Next: , Previous: , Up: words   [Index]


3.5.2 Knowing the size of C language types

The following bindings are exported by the (vicare platform words) library.

Identifier Syntax: SIZEOF_CHAR

Number of bytes in the C language type char.

Identifier Syntax: SIZEOF_SHORT

Number of bytes in the C language type short int.

Identifier Syntax: SIZEOF_INT

Number of bytes in the C language type int.

Identifier Syntax: SIZEOF_LONG

Number of bytes in the C language type long.

Identifier Syntax: SIZEOF_LONG_LONG

Number of bytes in the C language type long long.

Identifier Syntax: SIZEOF_SIZE_T

Number of bytes in the C language type size_t.

Identifier Syntax: SIZEOF_SSIZE_T

Number of bytes in the C language type ssize_t.

Identifier Syntax: SIZEOF_OFF_T

Number of bytes in the C language type off_t.

Identifier Syntax: SIZEOF_PTRDIFF_T

Number of bytes in the C language type ptrdiff_t.

Identifier Syntax: SIZEOF_FLOAT

Number of bytes in the C language type float.

Identifier Syntax: SIZEOF_DOUBLE

Number of bytes in the C language type double.

Identifier Syntax: SIZEOF_POINTER

Number of bytes in the C language type void *.