Module Name: src Committed By: martin Date: Tue Mar 7 19:53:31 UTC 2023
Modified Files: src/lib/libc/sys [netbsd-10]: open.2 Log Message: Pull up following revision(s) (requested by thorpej in ticket #114): lib/libc/sys/open.2: revision 1.66 Document the error code when O_REGULAR is specified and the last path component is not a regular file. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.65.6.1 src/lib/libc/sys/open.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/open.2 diff -u src/lib/libc/sys/open.2:1.65 src/lib/libc/sys/open.2:1.65.6.1 --- src/lib/libc/sys/open.2:1.65 Wed Mar 17 08:13:29 2021 +++ src/lib/libc/sys/open.2 Tue Mar 7 19:53:31 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: open.2,v 1.65 2021/03/17 08:13:29 wiz Exp $ +.\" $NetBSD: open.2,v 1.65.6.1 2023/03/07 19:53:31 martin Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)open.2 8.2 (Berkeley) 11/16/93 .\" -.Dd March 17, 2021 +.Dd March 5, 2023 .Dt OPEN 2 .Os .Sh NAME @@ -365,6 +365,9 @@ was specified, but the last path compone specifies returning .Bq Er ELOOP for this case. +.It Bq Er EFTYPE +.Dv O_REGULAR +is specified and the last path component is not a regular file. .It Bq Er EINTR The .Fn open