#include <dsLock.h>
Interface to fcntl(2) lock function see: fcntl(2) what : F_SETLK F_SETLKW, F_GETLK mode : F_WRLCK, F_RDLCK, F_UNLCK