X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibposix.so_src%2Finclude_exp%2Ffcntl.h;h=6057b132a81700e0c9eadce931f214b9f311383f;hb=ac3028884d3c109359bc20369391adba7dab4ba9;hp=f53ad9357fc5c489d3625e232d258a7fba270248;hpb=7150110631ddecf52a6456d7d56dd915ffc483e7;p=tpg%2Facess2.git 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