Document EINVAL as a possible return value from open(2).
This commit is contained in:
parent
ba61555b2c
commit
914ab5d893
@ -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 ,
|
||||
|
Loading…
Reference in New Issue
Block a user