Go to the previous, next section.
The header file `<vmm/types.h>' defines the standard types used throughout the system, this chapter lists these types, how they are defined, and in some cases where they should be used.
Note that the standard C integer types are not listed (i.e.
char
, short
, int
and long
). Throughout the
system we assume that chars are 8 bits, shorts are 16 bits and longs
are 32 bits. We also assume that chars are signed.
int32
int
.
u_int
unsigned int
.
u_long
u_int32
unsigned long
.
int16
short
u_short
u_int16
unsigned short
.
int8
char
.
u_char
u_int8
unsigned char
.
time_t
unsigned long
. See section Time And Date Handling.
size_t
bool
TRUE
(non-zero) or FALSE
(zero).
Defined as char
.
The following objects are not types, they are macros used to define certain common values used throughout the system.
NULL
TRUE
FALSE
Go to the previous, next section.