BSD 4_4 development
[unix-history] / usr / include / fcntl.h
deleted file mode 100644 (file)
index 5fd458f18a7f09097377a11cfd9a4ef8882df905..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 1983 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- *
- *     @(#)fcntl.h     5.2 (Berkeley) 1/8/86
- */
-
-/*
- * Flag values accessible to open(2) and fcntl(2)-- copied from
- * <sys/file.h>.  (The first three can only be set by open.)
- */
-#define        O_RDONLY        000             /* open for reading */
-#define        O_WRONLY        001             /* open for writing */
-#define        O_RDWR          002             /* open for read & write */
-#define        O_NDELAY        FNDELAY         /* non-blocking open */
-                                       /* really non-blocking I/O for fcntl */
-#define        O_APPEND        FAPPEND         /* append on each write */
-#define        O_CREAT         FCREAT          /* open with file create */
-#define        O_TRUNC         FTRUNC          /* open with truncation */
-#define        O_EXCL          FEXCL           /* error on create if file exists */
-
-#ifndef        F_DUPFD
-/* fcntl(2) requests */
-#define        F_DUPFD 0       /* Duplicate fildes */
-#define        F_GETFD 1       /* Get fildes flags */
-#define        F_SETFD 2       /* Set fildes flags */
-#define        F_GETFL 3       /* Get file flags */
-#define        F_SETFL 4       /* Set file flags */
-#define        F_GETOWN 5      /* Get owner */
-#define F_SETOWN 6     /* Set owner */
-
-/* flags for F_GETFL, F_SETFL-- copied from <sys/file.h> */
-#define        FNDELAY         00004           /* non-blocking reads */
-#define        FAPPEND         00010           /* append on each write */
-#define        FASYNC          00100           /* signal pgrp when data ready */
-#define        FCREAT          01000           /* create if nonexistant */
-#define        FTRUNC          02000           /* truncate to zero length */
-#define        FEXCL           04000           /* error if already created */
-#endif
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..b5c3c644b575668a4ac28b8a3e714d47e639ed8a
--- /dev/null
@@ -0,0 +1 @@
+sys/fcntl.h
\ No newline at end of file