Skip to content
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

refactor: change dirfd arg of xxxat() to Option<fd> #2157

Merged
merged 7 commits into from
Nov 5, 2023

Conversation

SteveLauC
Copy link
Member

What does this PR do

The following APIs now take optional dirfds:

  • readlinkat()
  • fstatat()
  • mknodat()
  • mkdirat()
  • execveat()

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

src/fcntl.rs Outdated Show resolved Hide resolved
@SteveLauC SteveLauC added this pull request to the merge queue Nov 5, 2023
Merged via the queue into nix-rust:master with commit e5cc5ce Nov 5, 2023
35 checks passed
@SteveLauC SteveLauC deleted the xxxat branch November 5, 2023 06:52
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.

2 participants