diff options
Diffstat (limited to 'src/libstddjb/open_exclcoe.c')
| -rw-r--r-- | src/libstddjb/open_exclcoe.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libstddjb/open_exclcoe.c b/src/libstddjb/open_exclcoe.c deleted file mode 100644 index b24786c..0000000 --- a/src/libstddjb/open_exclcoe.c +++ /dev/null @@ -1,10 +0,0 @@ -/* ISC license. */ - -#include <skalibs/nonposix.h> -#include <fcntl.h> -#include <skalibs/djbunix.h> - -int open_exclcoe (char const *fn) -{ - return open3(fn, O_WRONLY | O_CREAT | O_EXCL | O_NONBLOCK | O_CLOEXEC, 0666) ; -} |
