Module Name:    src
Committed By:   wiz
Date:           Sat Dec  1 20:57:08 UTC 2012

Modified Files:
        src/lib/libc/sys: mkfifo.2

Log Message:
Bump date. New sentence, new line. Wording/articles.
Sort errors while here.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/sys/mkfifo.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/mkfifo.2
diff -u src/lib/libc/sys/mkfifo.2:1.21 src/lib/libc/sys/mkfifo.2:1.22
--- src/lib/libc/sys/mkfifo.2:1.21	Sun Nov 18 17:41:53 2012
+++ src/lib/libc/sys/mkfifo.2	Sat Dec  1 20:57:08 2012
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mkfifo.2,v 1.21 2012/11/18 17:41:53 manu Exp $
+.\"	$NetBSD: mkfifo.2,v 1.22 2012/12/01 20:57:08 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -60,14 +60,15 @@ works the same way as
 .Fn mkfifo
 except if
 .Fa path
-is relative. In that case, it is looked up from a directory whose file
+is relative.
+In that case, it is looked up from a directory whose file
 descriptor was passed as
 .Fa fd .
 Search permission is required on
 .Fa fd
-except if that file descriptor was open with
+except if that file descriptor was opened with the
 .Dv O_SEARCH
-option.
+flag.
 .Fa fd
 can be set to
 .Dv AT_FDCWD
@@ -84,52 +85,49 @@ A \-1 return value indicates an error, a
 .Fn mkfifo
 will fail and no fifo will be created if:
 .Bl -tag -width Er
-.It Bq Er EOPNOTSUPP
-The kernel has not been configured to support fifo's.
-.It Bq Er ENOTDIR
-A component of the path prefix is not a directory.
-.It Bq Er ENAMETOOLONG
-A component of a pathname exceeded
-.Brq Dv NAME_MAX
-characters, or an entire path name exceeded
-.Brq Dv PATH_MAX
-characters.
-.It Bq Er ENOENT
-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 ELOOP
-Too many symbolic links were encountered in translating the pathname.
-.It Bq Er EROFS
-The named file resides on a read-only file system.
-.It Bq Er EEXIST
-The named file exists.
-.It Bq Er ENOSPC
-The directory in which the entry for the new fifo is being placed
-cannot be extended because there is no space left on the file
-system containing the directory.
-.It Bq Er ENOSPC
-There are no free inodes on the file system on which the
-fifo is being created.
 .It Bq Er EDQUOT
 The directory in which the entry for the new fifo
 is being placed cannot be extended because the
 user's quota of disk blocks on the file system
 containing the directory has been exhausted.
-.It Bq Er EDQUOT
-The user's quota of inodes on the file system on
+Or, the user's quota of inodes on the file system on
 which the fifo is being created has been exhausted.
+.It Bq Er EEXIST
+The named file exists.
+.It Bq Er EFAULT
+.Fa path
+points outside the process's allocated address space.
 .It Bq Er EIO
 An
 .Tn I/O
 error occurred while making the directory entry or allocating the inode.
-.It Bq Er EIO
-An
+Or, an
 .Tn I/O
 error occurred while reading from or writing to the file system.
-.It Bq Er EFAULT
-.Fa path
-points outside the process's allocated address space.
+.It Bq Er ELOOP
+Too many symbolic links were encountered in translating the pathname.
+.It Bq Er ENAMETOOLONG
+A component of a pathname exceeded
+.Brq Dv NAME_MAX
+characters, or an entire path name exceeded
+.Brq Dv PATH_MAX
+characters.
+.It Bq Er ENOENT
+A component of the path prefix does not exist.
+.It Bq Er ENOSPC
+The directory in which the entry for the new fifo is being placed
+cannot be extended because there is no space left on the file
+system containing the directory.
+Or, there are no free inodes on the file system on which the
+fifo is being created.
+.It Bq Er ENOTDIR
+A component of the path prefix is not a directory.
+.It Bq Er EOPNOTSUPP
+The kernel has not been configured to support fifo's.
+.It Bq Er EROFS
+The named file resides on a read-only file system.
 .El
 .Sh SEE ALSO
 .Xr chmod 2 ,
@@ -143,4 +141,3 @@ function call conforms to
 .Fn mkfifoat
 conforms to
 .St -p1003.1-2008 .
-

Reply via email to