summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/setsid.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/setsid.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
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 0dc1cef..56506a6 100644
--- a/lib/libc/sys/setsid.2
+++ b/lib/libc/sys/setsid.2
@@ -47,7 +47,7 @@
.Sh DESCRIPTION
The
.Fn setsid
-function creates a new session.
+system call 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
terminal.
@@ -56,7 +56,7 @@ process group.
.Sh RETURN VALUES
Upon successful completion, the
.Fn setsid
-function returns the value of the process group ID of the new process
+system call 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.
If an error occurs,
.Fn setsid
@@ -66,7 +66,7 @@ is set to indicate the error.
.Sh ERRORS
The
.Fn setsid
-function will fail if:
+system call will fail if:
.Bl -tag -width Er
.It Bq Er EPERM
The calling process is already a process group leader, or the process
@@ -80,6 +80,6 @@ ID of the calling process.
.Sh STANDARDS
The
.Fn setsid
-function is expected to be compliant with the
+system call is expected to be compliant with the
.St -p1003.1-90
specification.
OpenPOWER on IntegriCloud