diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2007-01-07 23:01:32 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2007-01-07 23:01:32 +0000 |
commit | bc87da10b60c1af83c533cdee2076de8ff17c589 (patch) | |
tree | c0bf17257eb83e9741c7111f2bc8125ce20d5721 /lib/libc/sys/open.2 | |
parent | dc73f9b1509ebdbc55dbabed2e52e649deba5012 (diff) | |
download | src-bc87da10b60c1af83c533cdee2076de8ff17c589.tar.gz src-bc87da10b60c1af83c533cdee2076de8ff17c589.zip |
open(2) returns EROFS when O_CREAT is specified and the named file would
reside on a read-only file system.
Notes
Notes:
svn path=/head/; revision=165877
Diffstat (limited to 'lib/libc/sys/open.2')
-rw-r--r-- | lib/libc/sys/open.2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 51ea5719d68f..b7e40f86d308 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 |