Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Document the error code when O_REGULAR is speci...



details:   https://anonhg.NetBSD.org/src/rev/2bffe215c6e5
branches:  trunk
changeset: 373831:2bffe215c6e5
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 05 16:24:31 2023 +0000

description:
Document the error code when O_REGULAR is specified and the last
path component is not a regular file.

diffstat:

 lib/libc/sys/open.2 |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 9597ea012055 -r 2bffe215c6e5 lib/libc/sys/open.2
--- a/lib/libc/sys/open.2       Sun Mar 05 14:40:32 2023 +0000
+++ b/lib/libc/sys/open.2       Sun Mar 05 16:24:31 2023 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: open.2,v 1.65 2021/03/17 08:13:29 wiz Exp $
+.\"    $NetBSD: open.2,v 1.66 2023/03/05 16:24:31 thorpej 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 @@
 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



Home | Main Index | Thread Index | Old Index