summaryrefslogtreecommitdiffstats
path: root/libc/include/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/fcntl.h')
-rw-r--r--libc/include/fcntl.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h
index 3cb3d8a..f41cbcc 100644
--- a/libc/include/fcntl.h
+++ b/libc/include/fcntl.h
@@ -25,6 +25,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
+
#ifndef _FCNTL_H
#define _FCNTL_H
@@ -39,10 +40,6 @@ __BEGIN_DECLS
#define O_ASYNC FASYNC
#endif
-#ifndef O_CLOEXEC
-#define O_CLOEXEC 02000000
-#endif
-
extern int open(const char* path, int mode, ...);
extern int openat(int fd, const char* path, int mode, ...);
extern int unlinkat(int dirfd, const char *pathname, int flags);