Linux has statx() since 8 years.
> The mask argument to statx() is used to tell the kernel which fields the caller is interested in.
https://manpages.debian.org/bookworm/manpages-dev/statx.2.en...
> The mask argument to statx() is used to tell the kernel which fields the caller is interested in.
https://manpages.debian.org/bookworm/manpages-dev/statx.2.en...