2 * Acess2 C Library (UNIX Emulation)
3 * - By John Hodge (thePowersGang)
12 //#include <sys/sys.h>
14 // Hacks to handle different behaviors in Acess
16 // Open doesn't take a chmod
17 //#define open(_1,_2,...) open(_1, _2)
20 //#define close(_1) (close(_1),0)
22 // Acess doesn't implement lseek
23 #define lseek(_1,_2,_3) (seek(_1,_2,_3),tell(_1))
30 static inline int fcntl(int fd __attribute__((unused)), int cmd __attribute__((unused)), ...) { return -1; }