From 1eff2f520cc557b5a426d13e46337d039c5b7953 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 22 Oct 1997 07:29:13 +0000 Subject: Document EINVAL as a possible return value from open(2). --- lib/libc/sys/open.2 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/libc/sys/open.2') 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 , -- cgit v1.1