summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/open.23
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 51ea571..b7e40f8 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -259,6 +259,9 @@ it is to be modified.
.It Bq Er EROFS
The named file resides on a read-only file system,
and the file is to be modified.
+.It Bq Er EROFS
+.Dv O_CREAT
+is specified and the named file would reside on a read-only file system.
.It Bq Er EMFILE
The process has already reached its limit for open file descriptors.
.It Bq Er ENFILE
OpenPOWER on IntegriCloud