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:
Rich Felker committed 2013-12-06 21:59:01 -05:00
1 parent ae71a43b02
commit 8708e137d6
2 files changed
+9

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#include <unistd.h>
int posix_close(int fd, int flags)
{
return close(fd);
}