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
@@ -259,7 +259,7 @@ impl Pal for Sys {
e(syscall::fchown(fd as usize, owner as u32, group as u32)) as c_int
}
fn fcntl(fd: c_int, cmd: c_int, args: c_int) -> c_int {
fn fcntl(fd: c_int, cmd: c_int, args: c_ulonglong) -> c_int {
e(syscall::fcntl(fd as usize, cmd as usize, args as usize)) as c_int
}