diff options
Diffstat (limited to 'nuttx/include/fcntl.h')
-rw-r--r-- | nuttx/include/fcntl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/include/fcntl.h b/nuttx/include/fcntl.h index 10780da2c..b4f0aa82a 100644 --- a/nuttx/include/fcntl.h +++ b/nuttx/include/fcntl.h @@ -112,11 +112,11 @@ struct flock { - short l_type; /* Type of lock: F_RDLCK, F_WRLCK, F_UNLCK */ - short l_whence; /* How to interpret l_start: SEEK_SET, SEEK_CUR, SEEK_END */ - off_t l_start; /* Starting offset for lock */ - off_t l_len; /* Number of bytes to lock */ - pid_t l_pid; /* PID of process blocking our lock (F_GETLK only) */ + sint16 l_type; /* Type of lock: F_RDLCK, F_WRLCK, F_UNLCK */ + sint16 l_whence; /* How to interpret l_start: SEEK_SET, SEEK_CUR, SEEK_END */ + off_t l_start; /* Starting offset for lock */ + off_t l_len; /* Number of bytes to lock */ + pid_t l_pid; /* PID of process blocking our lock (F_GETLK only) */ }; /******************************************************************************** |