-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[libc] Implement fcntl function #84968
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
Comments
Hi! This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below. |
@llvm/issue-subscribers-good-first-issue Author: Schrodinger ZHU Yifan (SchrodingerZhu)
This is currently missing. It is useful when checking fd flags.
|
@nickdesaulniers I'd like to work on this. |
The function itself is defined in: https://man7.org/linux/man-pages/man2/fcntl.2.html https://pubs.opengroup.org/onlinepubs/007904975/functions/fcntl.html For Linux, it should be simply a syscall wrapper. |
You can refer to #84974. It is still a WIP PR, but it shows what files would a syscall wrapper implementation typically involve. |
Hi @l32zhao, are you still working on this? Otherwise I'd be happy to take this issue up. Thanks! |
Fixes #84968. Implements the `fcntl()` function defined in the `fcntl.h` header.
This is currently missing. It is useful when checking fd flags.
The text was updated successfully, but these errors were encountered: