llvm-project
c3b28491
- [libc] Allow openat and creat to return fd 0. (#166466)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 days ago
[libc] Allow openat and creat to return fd 0. (#166466) Previously, if the `open` or `openat` syscalls returned 0 as a (valid) file descriptor, the `creat` and `openat` wrappers would erroneously return -1.
References
#166466 - [libc] Allow openat and creat to return fd 0.
Author
jtstogel
Parents
0502314f
Loading