summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/setpgid.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/setpgid.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/setpgid.2')
-rw-r--r--lib/libc/sys/setpgid.214
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2
index 14186ea..37c1d98 100644
--- a/lib/libc/sys/setpgid.2
+++ b/lib/libc/sys/setpgid.2
@@ -48,7 +48,9 @@
.Ft int
.Fn setpgrp "pid_t pid" "pid_t pgrp"
.Sh DESCRIPTION
-.Fn Setpgid
+The
+.Fn setpgid
+system call
sets the process group of the specified process
.Fa pid
to the specified
@@ -63,7 +65,9 @@ of the invoking process.
.Sh RETURN VALUES
.Rv -std setpgid
.Sh ERRORS
-.Fn Setpgid
+The
+.Fn setpgid
+system call
will fail and the process group will not be altered if:
.Bl -tag -width Er
.It Bq Er ESRCH
@@ -78,10 +82,12 @@ of the calling process.
.Sh STANDARDS
The
.Fn setpgid
-function call is expected to conform to
+system call is expected to conform to
.St -p1003.1-90 .
.Sh COMPATIBILITY
-.Fn Setpgrp
+The
+.Fn setpgrp
+system call
is identical to
.Fn setpgid ,
and is retained for calling convention compatibility with historical
OpenPOWER on IntegriCloud