Module Name: src
Committed By: abhinav
Date: Tue Feb 21 18:01:38 UTC 2017
Modified Files:
src/lib/libc/sys: dup.2
Log Message:
Use .Fn to refer functions instead of .Nm.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libc/sys/dup.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/dup.2
diff -u src/lib/libc/sys/dup.2:1.31 src/lib/libc/sys/dup.2:1.32
--- src/lib/libc/sys/dup.2:1.31 Tue Feb 21 17:56:21 2017
+++ src/lib/libc/sys/dup.2 Tue Feb 21 18:01:38 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: dup.2,v 1.31 2017/02/21 17:56:21 abhinav Exp $
+.\" $NetBSD: dup.2,v 1.32 2017/02/21 18:01:38 abhinav Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -77,13 +77,13 @@ call must be issued.
(This is not generally possible for pipes and sockets.)
.Pp
The
-.Nm dup
+.Fn dup
call chooses the new descriptor: it is the lowest-numbered descriptor
not currently in use.
The
-.Nm dup2
+.Fn dup2
and
-.Nm dup3
+.Fn dup3
calls allow the caller to choose the new descriptor by passing
.Fa newfd ,
which must be within the range of valid descriptors.