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 char 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 char nlink_t;
  31 typedef int daddr_t;
  32 typedef long off_t;
  33 typedef unsigned char u_char;
  34 typedef unsigned short ushort;
  35 
  36 typedef struct { int quot,rem; } div_t;
  37 typedef struct { long quot,rem; } ldiv_t;
  38 
  39 struct ustat {
  40         daddr_t f_tfree;
  41         ino_t f_tinode;
  42         char f_fname[6];
  43         char f_fpack[6];
  44 };
  45 
  46 #endif

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