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 u_short;
  35 typedef unsigned long u_long;
  36 typedef unsigned short ushort;
  37 typedef char *caddr_t;
  38 
  39 typedef unsigned char cc_t;
  40 typedef unsigned int speed_t;
  41 typedef unsigned long tcflag_t;
  42 
  43 typedef unsigned long fd_set;
  44 
  45 typedef struct { int quot,rem; } div_t;
  46 typedef struct { long quot,rem; } ldiv_t;
  47 
  48 struct ustat {
  49         daddr_t f_tfree;
  50         ino_t f_tinode;
  51         char f_fname[6];
  52         char f_fpack[6];
  53 };
  54 
  55 #endif

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