linux: add syncfs(2)
This adds binding for `syncfs` on Linux, which is implemented by all supported libraries. Ref: https://man7.org/linux/man-pages/man2/syncfs.2.html
This commit is contained in:
parent
6570c66a41
commit
20543f3f24
@ -3007,6 +3007,7 @@ swapoff
|
||||
swapon
|
||||
sync
|
||||
sync_file_range
|
||||
syncfs
|
||||
syscall
|
||||
sysinfo
|
||||
tee
|
||||
|
@ -3257,6 +3257,7 @@ extern "C" {
|
||||
pub fn setdomainname(name: *const ::c_char, len: ::size_t) -> ::c_int;
|
||||
pub fn vhangup() -> ::c_int;
|
||||
pub fn sync();
|
||||
pub fn syncfs(fd: ::c_int) -> ::c_int;
|
||||
pub fn syscall(num: ::c_long, ...) -> ::c_long;
|
||||
pub fn sched_getaffinity(pid: ::pid_t, cpusetsize: ::size_t, cpuset: *mut cpu_set_t)
|
||||
-> ::c_int;
|
||||
|
Loading…
Reference in New Issue
Block a user