root/include/sys/types.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _SYS_TYPES_H
   2 #define _SYS_TYPES_H
   3 
   4 #ifndef _SIZE_T
   5 #define _SIZE_T
   6 typedef unsigned int size_t;
   7 #endif
   8 
   9 #ifndef _TIME_T
  10 #define _TIME_T
  11 typedef long time_t;
  12 #endif
  13 
  14 #ifndef _PTRDIFF_T
  15 #define _PTRDIFF_T
  16 typedef long ptrdiff_t;
  17 #endif
  18 
  19 #ifndef NULL
  20 #define NULL ((void *) 0)
  21 #endif
  22 
  23 typedef int pid_t;
  24 typedef unsigned short uid_t;
  25 typedef unsigned short gid_t;
  26 typedef unsigned short dev_t;
  27 typedef unsigned short ino_t;
  28 typedef unsigned short mode_t;
  29 typedef unsigned short umode_t;
  30 typedef unsigned short nlink_t;
  31 typedef int daddr_t;
  32 typedef long off_t;
  33 typedef unsigned char u_char;
  34 typedef unsigned short ushort;
  35 typedef char *caddr_t;
  36 
  37 typedef unsigned char cc_t;
  38 typedef unsigned int speed_t;
  39 typedef unsigned long tcflag_t;
  40 
  41 typedef unsigned long fd_set;
  42 
  43 typedef struct { int quot,rem; } div_t;
  44 typedef struct { long quot,rem; } ldiv_t;
  45 
  46 struct ustat {
  47         daddr_t f_tfree;
  48         ino_t f_tinode;
  49         char f_fname[6];
  50         char f_fpack[6];
  51 };
  52 
  53 #endif

/* [previous][next][first][last][top][bottom][index][help] */