next up previous contents
Next: Common Features Up: Components Previous: Components

Fixed Size Types

The Trybos/YBOS data storage model is that of a one-dimensional array of four-byte, signed integers. Since C and C++ do not guarantee the exact size of integer types, the typedef ``int4'' is defined in the header file TRY_Fixed_Size_Typesgif to describe a four-byte signed integer on all supported operating systems and compilers. Other fixed-size and related types include are listed in Table 1 on page gif. Note that the ``char'' data type is used in Trybos in preference to the ``int1'' data type for ASCII characters, and the ``byte'' data type is used in preference to the ``uint1'' data type.

NOTE: Wherever in this text that a quantity is referred to an integer or a word, it is a four-byte signed integer declared as an int4.

    Table 1: Fixed Size Types



Robert Kennedy
Mon Jul 28 13:23:28 CDT 1997