vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

types.h (687B)


      1 #ifndef _SYS_TYPES_H
      2 #define _SYS_TYPES_H
      3 
      4 #include <stddef.h>
      5 
      6 typedef signed long		ssize_t;
      7 
      8 typedef int			mode_t;
      9 typedef signed long long	off_t;
     10 typedef unsigned long		dev_t;
     11 typedef unsigned long		ino_t;
     12 typedef int			nlink_t;
     13 typedef signed			blksize_t;
     14 typedef signed long long	blkcnt_t;
     15 
     16 typedef int			id_t;
     17 typedef int			pid_t; // XXX where else is this getting defined?
     18 typedef int			uid_t;
     19 typedef int			gid_t;
     20 
     21 typedef signed long long	time_t;
     22 typedef signed long long	clock_t;
     23 typedef signed long		suseconds_t;
     24 
     25 struct tm;
     26 #include <fcntl.h>  // I give up!  Some header is supposed to define O_RDONLY
     27 	// as a side-effect but I don't know which one.
     28 
     29 #endif	// _SYS_TYPES_H