summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/dup.2
diff options
context:
space:
mode:
authorchris <chris@FreeBSD.org>2000-06-23 05:05:44 +0000
committerchris <chris@FreeBSD.org>2000-06-23 05:05:44 +0000
commita6d911fe4ec44bd192bc844817123acbfbb79fd8 (patch)
tree8888b98b7734fc74018a7258777e65e84b9969da /lib/libc/sys/dup.2
parent884ed8fd45a157d537285e599ff01a509ff189b8 (diff)
downloadFreeBSD-src-a6d911fe4ec44bd192bc844817123acbfbb79fd8.zip
FreeBSD-src-a6d911fe4ec44bd192bc844817123acbfbb79fd8.tar.gz
Replace .Va, .Ar and .Nm with .Fa or .Va where necessary, examples:
``.Ar errno'' -> ``.Va errno'' ``.Nm ops'' -> ``.Fa ops'' ``.Va fd'' -> ``.Fa fd''
Diffstat (limited to 'lib/libc/sys/dup.2')
-rw-r--r--lib/libc/sys/dup.212
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/dup.2 b/lib/libc/sys/dup.2
index a73e554..1c20048 100644
--- a/lib/libc/sys/dup.2
+++ b/lib/libc/sys/dup.2
@@ -130,13 +130,13 @@ syscall is assembled to
and
.Fn dup
is implemented as a function which locks
-.Va oldd
+.Fa oldd
for read and write, then calls
.Fn _thread_sys_dup .
Before returning,
.Fn dup
unlocks
-.Va oldd .
+.Fa oldd .
.Pp
In the non-threaded library
.Fn dup2
@@ -151,17 +151,17 @@ syscall is assembled to
and
.Fn dup2
is implemented as a function which locks both
-.Va oldd
+.Fa oldd
and
-.Va newd
+.Fa newd
for read and write, then calls
.Fn _thread_sys_dup2 .
Before returning,
.Fn dup2
unlocks
-.Va oldd .
+.Fa oldd .
and
-.Va newd .
+.Fa newd .
.Sh RETURN VALUES
The value -1 is returned if an error occurs in either call.
The external variable
OpenPOWER on IntegriCloud