Document EINVAL as a possible return value from open(2).

This commit is contained in:
Joerg Wunsch 1997-10-22 07:29:13 +00:00
parent 2094bd7342
commit 56728a2905

View file

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