Module Name: src Committed By: jruoho Date: Sun Jul 3 14:11:43 UTC 2011
Modified Files: src/lib/libc/sys: mknod.2 Log Message: Note that mknod(2) may fail with EINVAL. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/sys/mknod.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/mknod.2 diff -u src/lib/libc/sys/mknod.2:1.20 src/lib/libc/sys/mknod.2:1.21 --- src/lib/libc/sys/mknod.2:1.20 Mon May 31 12:16:20 2010 +++ src/lib/libc/sys/mknod.2 Sun Jul 3 14:11:43 2011 @@ -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