mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-06 11:41:02 +03:00
(O_NORW): New macro.
This commit is contained in:
parent
2f6d1f1be9
commit
867a8743a4
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for GNU.
|
/* O_*, F_*, FD_* bit values for GNU.
|
||||||
Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -33,6 +33,7 @@ Cambridge, MA 02139, USA. */
|
|||||||
#define O_READ O_RDONLY /* Open for reading. */
|
#define O_READ O_RDONLY /* Open for reading. */
|
||||||
#define O_WRITE O_WRONLY /* Open for writing. */
|
#define O_WRITE O_WRONLY /* Open for writing. */
|
||||||
#define O_EXEC 0x0004 /* Open for execution. */
|
#define O_EXEC 0x0004 /* Open for execution. */
|
||||||
|
#define O_NORW 0 /* Open without R/W access. */
|
||||||
#endif
|
#endif
|
||||||
/* POSIX.1 standard names. */
|
/* POSIX.1 standard names. */
|
||||||
#define O_RDONLY 0x0001 /* Open read-only. */
|
#define O_RDONLY 0x0001 /* Open read-only. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user