/* ----- TYPEDEF.H ------------------------------------------------------------- * * DESCRIPTION: A new header file to solve the problem with writing * machine independent programs under C. * This header file defines the variable types as used * under Xenix C 5.0. If you're using the variable types * defined here you only have to change the defines to * port your program to another machine. There's no * longer worrying about variable sizes. * * REMARKS: * * CHANGES: V0.1 90/06/22 Initial version * * INCLUDES: */ /* * DEFINES: */ /* * EXTERNAL: * */ /* * TYPES: */ /* CHAR: Size: 1 byte Range: -128...127 */ #define CHAR char /* BYTE: Size: 1 byte Range: 0...255 */ #define BYTE unsigned char /* INT: Size: 2 bytes Range: -32768...32767 */ #define INT signed short /* SHORT: Size: 2 bytes Range: -32768...32767 */ #define SHORT short /* UNSIGNED_INT: Size: 2 bytes Range: 0...65535 */ #define UNSIGNED_INT unsigned int /* LONG: Size: 4 bytes Range: -2^31...2^31-1 */ #define LONG signed long /* UNSIGNED_LONG: Size: 4 bytes Range: 0...2^32-1 */ #define UNSIGNED_LONG unsigned long /* FLOAT: Size: 4 bytes Range: -3.4E-38...3.4E+38 */ #define FLOAT float /* DOUBLE: Size: 8 bytes Range: -1.7E-308...1.7E+308 */ #define DOUBLE double /* * VARIABLES: */ /* * RETURN: * * CALL AND PARAMETERS: */ /* * * ------------------------------------------------------------------------ */