Skip to content

Support statx by file descriptor #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bdrung
Copy link

@bdrung bdrung commented Apr 28, 2025

The statx(2) man page says about identifying the target file by file descriptor: "If pathname is an empty string (or NULL since Linux 6.11) and the AT_EMPTY_PATH flag is specified in flags (see below), then the target file is the one referred to by the file descriptor dirfd."

Support this use case in case the first parameter is an integer.

The statx(2) man page says about identifying the target file by file
descriptor: "If pathname is an empty string (or `NULL` since Linux 6.11)
and the `AT_EMPTY_PATH` flag is specified in _flags_ (see below), then
the target file is the one referred to by the file descriptor _dirfd_."

Support this use case in case the first parameter is an integer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant