scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

sys.h (459B)


      1 #define O_RDONLY  0x00000000
      2 #define O_WRONLY  0x00000001
      3 #define O_RDWR    0x00000002
      4 #define O_ACCMODE 0x00000003
      5 
      6 #define O_TRUNC   0x00000200
      7 #define O_APPEND  0x00000400
      8 #define O_CREAT   0x00000040
      9 
     10 #define AT_FDCWD  -100
     11 #define CLOCKS_PER_SEC ((clock_t) 1000000)
     12 #define RUSAGE_SELF 0
     13 
     14 typedef int pid_t;
     15 
     16 struct sigaction;
     17 
     18 extern pid_t _getpid(void);
     19 extern int _kill(pid_t, int);
     20 extern int _sigaction(int, struct sigaction *, struct sigaction *);