scc

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

_open.c (218B)


      1 #include <stddef.h>
      2 
      3 #include <sys.h>
      4 
      5 #include "../../syscall.h"
      6 
      7 extern int _openat(int, const char *, int, int);
      8 
      9 int
     10 _open(const char *fname, int flags, int mode)
     11 {
     12 	return _openat(AT_FDCWD, fname, flags, mode);
     13 }