statx-sys

Crates.iostatx-sys
lib.rsstatx-sys
version0.4.1
sourcesrc
created_at2019-04-07 13:21:41.069354
updated_at2022-09-02 20:21:32.137738
descriptionBindings to `statx` syscall implemented by `syscall`
homepage
repositoryhttps://github.com/oxalica/statx-sys
max_upload_size
id126347
size10,901
(oxalica)

documentation

README

statx-sys

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 structs 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.

Commit count: 26

cargo fmt