mirror of https://github.com/mkerrisk/man-pages
open.2: Make it explicit that O_CREAT creates a regular file
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d8a21977bf
commit
6f72cae5db
|
@ -249,7 +249,9 @@ flag to deal with this problem.)
|
|||
.\" returned by accept(), pipe(), etc.
|
||||
.TP
|
||||
.B O_CREAT
|
||||
If the file does not exist, it will be created.
|
||||
If
|
||||
.I pathname
|
||||
does not exist, create it as a regular file.
|
||||
.IP
|
||||
The owner (user ID) of the new file is set to the effective user ID
|
||||
of the process.
|
||||
|
|
Loading…
Reference in New Issue