Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
/ statx-sys Public archive

**Archived: use `libc` or `rustix` instead. ** Bindings to statx syscall

License

Notifications You must be signed in to change notification settings

oxalica/statx-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

statx-sys

This project is archived. Please use libc directly, or rustix for non-libc targets.

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.

About

**Archived: use `libc` or `rustix` instead. ** Bindings to statx syscall

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages