lockf implementation proposal

This commit is contained in:
David Carlier
2023-05-16 23:40:40 +01:00
parent a768852bec
commit bae8bb68df
9 changed files with 58 additions and 18 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ impl Pal for Sys {
res
}
fn fcntl(fildes: c_int, cmd: c_int, arg: c_int) -> c_int {
fn fcntl(fildes: c_int, cmd: c_int, arg: c_ulonglong) -> c_int {
e(unsafe { syscall!(FCNTL, fildes, cmd, arg) }) as c_int
}