mirror of
https://github.com/fluencelabs/musl
synced 2025-06-24 20:21:59 +00:00
add posix_close, accepted for inclusion in the next issue of POSIX
this is purely a wrapper for close since Linux does not support EINTR semantics for the close syscall.
This commit is contained in:
6
src/unistd/posix_close.c
Normal file
6
src/unistd/posix_close.c
Normal file
@ -0,0 +1,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
int posix_close(int fd, int flags)
|
||||
{
|
||||
return close(fd);
|
||||
}
|
Reference in New Issue
Block a user