open(2): Extend EINVAL's description

PR:	281033

(cherry picked from commit 02c23c3b5ac9c9c1115c8b892034bb5d67b05c06)
This commit is contained in:
Jose Luis Duran 2024-08-27 02:23:14 +00:00 committed by Konstantin Belousov
parent 97ccb41979
commit f7eb6b134d

View file

@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd January 29, 2024
.Dd August 25, 2024
.Dt OPEN 2
.Os
.Sh NAME
@ -580,6 +580,12 @@ and
.Dv O_EXEC
or
.Dv O_SEARCH .
.It Bq Er EINVAL
.Dv O_CREAT
is specified,
and the last component of the
.Fa path
argument is invalid on the file system on which the file is being created.
.It Bq Er EBADF
The
.Fa path