Add "struct" to POSIX flock
This commit is contained in:
parent
779f2b37aa
commit
7b9e2881d8
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ type
|
|||
d_ino*: Tino ## File serial number.
|
||||
d_name*: array [0..255, char] ## Name of entry.
|
||||
|
||||
Tflock* {.importc: "flock", final, pure,
|
||||
Tflock* {.importc: "struct flock", final, pure,
|
||||
header: "<fcntl.h>".} = object ## flock type
|
||||
l_type*: cshort ## Type of lock; F_RDLCK, F_WRLCK, F_UNLCK.
|
||||
l_whence*: cshort ## Flag for starting offset.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue