summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/setsid.2
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-08-22 23:31:07 +0000
committermpp <mpp@FreeBSD.org>1996-08-22 23:31:07 +0000
commit5e0b8a523431b6adfab8ac667e002985816ad527 (patch)
tree748859d8821f0dc6e8312554558994563f756b27 /lib/libc/sys/setsid.2
parente9dba4b462df04cf03473f2e6881efb52dd69c32 (diff)
downloadFreeBSD-src-5e0b8a523431b6adfab8ac667e002985816ad527.zip
FreeBSD-src-5e0b8a523431b6adfab8ac667e002985816ad527.tar.gz
Correctly use .Fn instead of .Nm to reference function names
in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages.
Diffstat (limited to 'lib/libc/sys/setsid.2')
-rw-r--r--lib/libc/sys/setsid.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/setsid.2 b/lib/libc/sys/setsid.2
index 404b1b8..e67aae4 100644
--- a/lib/libc/sys/setsid.2
+++ b/lib/libc/sys/setsid.2
@@ -43,7 +43,7 @@
.Fn setsid "void"
.Sh DESCRIPTION
The
-.Nm setsid
+.Fn setsid
function creates a new session.
The calling process is the session leader of the new session, is the
process group leader of a new process group and has no controlling
@@ -52,12 +52,12 @@ The calling process is the only process in either the session or the
process group.
.Pp
Upon successful completion, the
-.Nm setsid
+.Fn setsid
function returns the value of the process group ID of the new process
group, which is the same as the process ID of the calling process.
.Sh ERRORS
If an error occurs,
-.Nm setsid
+.Fn setsid
returns -1 and the global variable
.Va errno
is set to indicate the error, as follows:
@@ -73,7 +73,7 @@ ID of the calling process.
.Xr tcsetpgrp 3
.Sh STANDARDS
The
-.Nm setsid
+.Fn setsid
function is expected to be compliant with the
.St -p1003.1-88
specification.
OpenPOWER on IntegriCloud