Crates.io | statx-sys |
lib.rs | statx-sys |
version | 0.4.1 |
source | src |
created_at | 2019-04-07 13:21:41.069354 |
updated_at | 2022-09-02 20:21:32.137738 |
description | Bindings to `statx` syscall implemented by `syscall` |
homepage | |
repository | https://github.com/oxalica/statx-sys |
max_upload_size | |
id | 126347 |
size | 10,901 |
Bindings to statx
syscall which is available in Linux kernel 4.11 ,
implemented by syscall
syscall.
Man page of statx
: http://man7.org/linux/man-pages/man2/statx.2.html
statx
related fn
and struct
s are first included in libc
0.2.56 .
And this crate provide an alternative which is compatible to libc
0.2.3 ,
which is the lowest version with support for syscall
.
For system without statx
support, the fn statx
of this crate will safely
return ENOSYS
instead of a compile-time link error.