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:
Michael Kerrisk 2017-09-28 16:43:45 +02:00
parent d8a21977bf
commit 6f72cae5db
1 changed files with 3 additions and 1 deletions

View File

@ -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.