From: John Hodge Date: Sat, 30 Nov 2013 14:46:41 +0000 (+0800) Subject: Usermode/libposix - Added types for F_GETLK X-Git-Tag: rel0.15~66 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=ac3028884d3c109359bc20369391adba7dab4ba9;hp=7150110631ddecf52a6456d7d56dd915ffc483e7;p=tpg%2Facess2.git Usermode/libposix - Added types for F_GETLK --- diff --git a/Usermode/Libraries/libposix.so_src/include_exp/fcntl.h b/Usermode/Libraries/libposix.so_src/include_exp/fcntl.h index f53ad935..6057b132 100644 --- a/Usermode/Libraries/libposix.so_src/include_exp/fcntl.h +++ b/Usermode/Libraries/libposix.so_src/include_exp/fcntl.h @@ -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