Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Better mdoc.



details:   https://anonhg.NetBSD.org/src/rev/c2e0004dfa2b
branches:  trunk
changeset: 536970:c2e0004dfa2b
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Sep 24 23:58:54 2002 +0000

description:
Better mdoc.

diffstat:

 lib/libc/sys/fcntl.2 |  24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diffs (72 lines):

diff -r 45a74f5df85a -r c2e0004dfa2b lib/libc/sys/fcntl.2
--- a/lib/libc/sys/fcntl.2      Tue Sep 24 23:48:22 2002 +0000
+++ b/lib/libc/sys/fcntl.2      Tue Sep 24 23:58:54 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fcntl.2,v 1.23 2002/09/17 21:35:37 christos Exp $
+.\"    $NetBSD: fcntl.2,v 1.24 2002/09/24 23:58:54 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -213,11 +213,11 @@
 .Fa l_type ,
 .Dv F_SETLK
 is used to establish shared (or read) locks
-.Dv (F_RDLCK)
+.Pq Dv F_RDLCK
 or exclusive (or write) locks,
-.Dv (F_WRLCK) ,
+.Pq Dv F_WRLCK ,
 as well as remove either type of lock
-.Dv (F_UNLCK) .
+.Pq Dv F_UNLCK .
 If a shared or exclusive lock cannot be set,
 .Nm
 returns immediately with
@@ -347,7 +347,7 @@
 Note that
 .Xr flock 2
 and
-.Xr fcntl 2
+.Nm
 locks may be safely used concurrently.
 .Pp
 All locks associated with a file for a given process are
@@ -389,11 +389,11 @@
 is
 .Dv F_SETLK ,
 the type of lock
-.Fa (l_type)
+.Pq Fa l_type
 is a shared lock
-.Dv (F_RDLCK)
+.Pq Dv F_RDLCK
 or exclusive lock
-.Dv (F_WRLCK) ,
+.Pq Dv F_WRLCK ,
 and the segment of a file to be locked is already
 exclusive-locked by another process;
 or the type is an exclusive lock and some portion of the
@@ -410,9 +410,9 @@
 or
 .Dv F_SETLKW ,
 the type of lock
-.Fa (l_type)
+.Pq Fa l_type
 is a shared lock
-.Dv (F_RDLCK) ,
+.Pq Dv F_RDLCK ,
 and
 .Fa fildes
 is not a valid file descriptor open for reading.
@@ -424,9 +424,9 @@
 or
 .Dv F_SETLKW ,
 the type of lock
-.Fa (l_type)
+.Pq Fa l_type
 is an exclusive lock
-.Dv (F_WRLCK) ,
+.Pq Dv F_WRLCK ,
 and
 .Fa fildes
 is not a valid file descriptor open for writing.



Home | Main Index | Thread Index | Old Index