summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-20 14:11:46 +0000
committerru <ru@FreeBSD.org>2000-11-20 14:11:46 +0000
commitf7a10404bccd5370cf494e1453a276bbf09b1143 (patch)
treee5249448ab52cfea6561a527dbe5fa3c83eddaaa /lib/libc/sys
parent55a23507010ea3eabe58edf611fdf921fabc3374 (diff)
downloadFreeBSD-src-f7a10404bccd5370cf494e1453a276bbf09b1143.zip
FreeBSD-src-f7a10404bccd5370cf494e1453a276bbf09b1143.tar.gz
mdoc(7) police: Nm -> Fn where appropriate.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/setresuid.24
-rw-r--r--lib/libc/sys/shm_open.221
-rw-r--r--lib/libc/sys/undelete.24
3 files changed, 14 insertions, 15 deletions
diff --git a/lib/libc/sys/setresuid.2 b/lib/libc/sys/setresuid.2
index 8ae2117..deb9978 100644
--- a/lib/libc/sys/setresuid.2
+++ b/lib/libc/sys/setresuid.2
@@ -37,11 +37,11 @@
.Fn setresuid "uid_t ruid" "uid_t euid" "uid_t suid"
.Sh DESCRIPTION
The
-.Nm setresuid
+.Fn setresuid
system call sets the real,
effective and saved user IDs of the current process.
The analogous
-.Nm setresgid
+.Fn setresgid
sets the real, effective and saved group IDs.
.Pp
Privileged processes may set these IDs
diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2
index cbd4dc7..e4910a9 100644
--- a/lib/libc/sys/shm_open.2
+++ b/lib/libc/sys/shm_open.2
@@ -47,13 +47,13 @@
.Fn shm_unlink "const char *path"
.Sh DESCRIPTION
The
-.Nm shm_open
+.Fn shm_open
function opens (or optionally creates) a
.Tn POSIX
shared memory object named
.Fa path .
The
-.Nm shm_unlink
+.Fn shm_unlink
function removes a shared memory object named
.Fa path .
.Pp
@@ -63,9 +63,9 @@ implementation,
.Tn POSIX
shared memory objects are implemented as ordinary files.
The
-.Nm shm_open
+.Fn shm_open
and
-.Nm shm_unlink
+.Fn shm_unlink
act as wrappers around the
.Xr open 2
and
@@ -87,7 +87,7 @@ In addition, the
implementation causes
.Fn mmap
of a descriptor returned by
-.Nm shm_open
+.Fn shm_open
to behave as if the
.Dv MAP_NOSYNC
flag had been specified to
@@ -96,7 +96,7 @@ flag had been specified to
.Xr fcntl 2 . )
.Pp
The
-.Nm shm_unlink
+.Fn shm_unlink
function makes no effort to ensure that
.Fa path
refers to a shared memory object.
@@ -173,16 +173,16 @@ specifies an access mode of
.Xr unlink 2
.Sh STANDARDS
The
-.Nm shm_open
+.Fn shm_open
and
-.Nm shm_unlink
+.Fn shm_unlink
functions are believed to conform to
.St -p1003.1b .
.Sh HISTORY
The
-.Nm shm_open
+.Fn shm_open
and
-.Nm shm_unlink
+.Fn shm_unlink
functions first appeared in
.Fx 5.0 .
.Sh AUTHORS
@@ -191,4 +191,3 @@ functions first appeared in
.Pp
.An Matthew Dillon Aq dillon@FreeBSD.org
.Pq Dv MAP_NOSYNC
-
diff --git a/lib/libc/sys/undelete.2 b/lib/libc/sys/undelete.2
index 9eb71e7..5be51a2 100644
--- a/lib/libc/sys/undelete.2
+++ b/lib/libc/sys/undelete.2
@@ -57,7 +57,7 @@ any objects in a lower layer of the
union stack to become visible once more.
.Pp
Eventually, the
-.Nm undelete
+.Fn undelete
functionality may be expanded to other filesystems able to recover
deleted files such as the log-structured filesystem.
.Sh RETURN VALUES
@@ -102,5 +102,5 @@ points outside the process's allocated address space.
.Xr mount_union 8
.Sh HISTORY
An
-.Nm undelete
+.Fn undelete
function call first appeared in 4.4BSD-Lite.
OpenPOWER on IntegriCloud