Usermode/libposix - Added types for F_GETLK
authorJohn Hodge <[email protected]>
Sat, 30 Nov 2013 14:46:41 +0000 (22:46 +0800)
committerJohn Hodge <[email protected]>
Sat, 30 Nov 2013 14:46:41 +0000 (22:46 +0800)
Usermode/Libraries/libposix.so_src/include_exp/fcntl.h

index f53ad93..6057b13 100644 (file)
@@ -32,6 +32,13 @@ enum e_fcntl_cmds
        F_GETLK,        // (struct flock *)
 };
 
+enum e_flock_types
+{
+       F_RDLCK,        // read
+       F_WRLCK,        // write
+       F_UNLCK,        // unlock
+};
+
 extern int fcntl(int fd, int cmd, ...);
 
 #endif

UCC git Repository :: git.ucc.asn.au