Added O_REOPEN.
This commit is contained in:
parent
82cb46af0a
commit
3b3fc8a9c4
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@
|
|||
/* File status flags for open() and fcntl(). POSIX Table 6-5. */
|
||||
#define O_APPEND 02000 /* set append mode */
|
||||
#define O_NONBLOCK 04000 /* no delay */
|
||||
#define O_REOPEN 010000 /* automatically re-open device after driver
|
||||
* restart
|
||||
*/
|
||||
|
||||
/* File access modes for open() and fcntl(). POSIX Table 6-6. */
|
||||
#define O_RDONLY 0 /* open(name, O_RDONLY) opens read only */
|
||||
|
|
Loading…
Reference in a new issue