Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Note that mknod(2) may fail with EINVAL.



details:   https://anonhg.NetBSD.org/src/rev/c9bdb0eb2d93
branches:  trunk
changeset: 766869:c9bdb0eb2d93
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Jul 03 14:11:43 2011 +0000

description:
Note that mknod(2) may fail with EINVAL.

diffstat:

 lib/libc/sys/mknod.2 |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r d01266065aaf -r c9bdb0eb2d93 lib/libc/sys/mknod.2
--- a/lib/libc/sys/mknod.2      Sun Jul 03 14:09:57 2011 +0000
+++ b/lib/libc/sys/mknod.2      Sun Jul 03 14:11:43 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mknod.2,v 1.20 2010/05/31 12:16:20 njoly Exp $
+.\"    $NetBSD: mknod.2,v 1.21 2011/07/03 14:11:43 jruoho Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)mknod.2    8.1 (Berkeley) 6/4/93
 .\"
-.Dd January 18, 2007
+.Dd July 3, 2011
 .Dt MKNOD 2
 .Os
 .Sh NAME
@@ -78,6 +78,12 @@
 A component of the path prefix does not exist.
 .It Bq Er EACCES
 Search permission is denied for a component of the path prefix.
+.It Bq Er EINVAL
+The supplied
+.Fa mode
+or
+.Fa dev
+is invalid.
 .It Bq Er ELOOP
 Too many symbolic links were encountered in translating the pathname.
 .It Bq Er EPERM



Home | Main Index | Thread Index | Old Index