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

Support confstr on Linux #3612

Open
wants to merge 1 commit into
base: libc-0.2
Choose a base branch
from

Conversation

magicant
Copy link
Contributor

@magicant magicant commented Mar 5, 2024

This pull request adds support for the confstr function on Linux and also defines the constants used as a parameter for the function.

I moved the function declaration from src/unix/bsd/apple/mod.rs to src/unix/mod.rs (rather than adding to src/unix/linux_like/linux/mod.rs) since it is part of POSIX so it should be available on any unix-like systems.

The constants for non-linux targets are not the scope of this pull request.

@rustbot
Copy link
Collaborator

rustbot commented Mar 5, 2024

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@magicant magicant marked this pull request as ready for review March 6, 2024 14:31
@magicant magicant marked this pull request as draft May 1, 2024 11:58
@magicant magicant marked this pull request as ready for review May 1, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants