/*
- * Acess2 C Library (UNIX Emulation)
+ * Acess2 POSIX Emulation Library
* - By John Hodge (thePowersGang)
*
* fcntl.h
- * - ??
+ * - File descriptor control?
*/
#ifndef _FCNTL_H_
F_GETLK, // (struct flock *)
};
-static inline int fcntl(int fd __attribute__((unused)), int cmd __attribute__((unused)), ...) { return -1; }
+enum e_flock_types
+{
+ F_RDLCK, // read
+ F_WRLCK, // write
+ F_UNLCK, // unlock
+};
+
+extern int fcntl(int fd, int cmd, ...);
#endif