diff options
author | joerg <joerg@FreeBSD.org> | 1997-10-22 07:29:13 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-10-22 07:29:13 +0000 |
commit | 1eff2f520cc557b5a426d13e46337d039c5b7953 (patch) | |
tree | 488a5b5dc0b1355d42d590fa0cb569066f134d4d | |
parent | b631d52e4d202d2b6393d4e5627eb1a51c33c37d (diff) | |
download | FreeBSD-src-1eff2f520cc557b5a426d13e46337d039c5b7953.zip FreeBSD-src-1eff2f520cc557b5a426d13e46337d039c5b7953.tar.gz |
Document EINVAL as a possible return value from open(2).
-rw-r--r-- | lib/libc/sys/open.2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 11d2906..7343528 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -268,6 +268,13 @@ and were specified and the file exists. .It Bq Er EOPNOTSUPP An attempt was made to open a socket (not currently implemented). +.It Bq Er EINVAL +An attempt was made to open a descriptor with an illegal combination +of +.Dv O_RDONLY , +.Dv O_WRONLY , +and +.Dv O_RDWR . .El .Sh SEE ALSO .Xr chmod 2 , |