search for: e30b09d

Displaying 1 result from an estimated 1 matches for "e30b09d".

Did you mean: 30309d
2016 Jan 15
0
[klibc:master] Remove open_cloexec()
...ec.o \ + creat.o open.o openat.o \ fread2.o fwrite2.o fgets.o fputc.o fputs.o puts.o putchar.o \ sleep.o usleep.o strtotimespec.o strtotimeval.o \ raise.o abort.o assert.o alarm.o pause.o \ diff --git a/usr/klibc/open_cloexec.c b/usr/klibc/open_cloexec.c deleted file mode 100644 index e30b09d..0000000 --- a/usr/klibc/open_cloexec.c +++ /dev/null @@ -1,18 +0,0 @@ -/* - * open_cloexec.c - * - * A quick hack to do an open() and set the cloexec flag - */ - -#include <unistd.h> -#include <fcntl.h> - -int open_cloexec(const char *path, int flags, mode_t mode) -{ - int fd = open(pa...