Improved compatibility with other Unix systems.

This commit is contained in:
Philip Homburg
2005-06-10 15:12:03 +00:00
parent d9b609c70f
commit dc23e18cef
27 changed files with 659 additions and 17 deletions

View File

@@ -43,6 +43,9 @@ typedef long clock_t; /* unit for system accounting */
typedef unsigned long sigset_t;
#endif
/* Open Group Base Specifications Issue 6 (not complete) */
typedef long useconds_t; /* Time in microseconds */
/* Types used in disk, inode, etc. data structures. */
typedef short dev_t; /* holds (major|minor) device pair */
typedef char gid_t; /* group id */
@@ -116,4 +119,10 @@ typedef int Mode_t;
/* Signal handler type, e.g. SIG_IGN */
typedef void _PROTOTYPE( (*sighandler_t), (int) );
/* Compatibility with other systems */
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
#endif /* _TYPES_H */