summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getpriority.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/getpriority.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/getpriority.2')
-rw-r--r--lib/libc/sys/getpriority.214
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc/sys/getpriority.2 b/lib/libc/sys/getpriority.2
index ef45d13b..9466435 100644
--- a/lib/libc/sys/getpriority.2
+++ b/lib/libc/sys/getpriority.2
@@ -56,9 +56,9 @@ and
.Fa who
is obtained with the
.Fn getpriority
-call and set with the
+system call and set with the
.Fn setpriority
-call.
+system call.
.Fa Which
is one of
.Dv PRIO_PROCESS ,
@@ -85,10 +85,10 @@ lower priorities cause more favorable scheduling.
.Pp
The
.Fn getpriority
-call returns the highest priority (lowest numerical value)
+system call returns the highest priority (lowest numerical value)
enjoyed by any of the specified processes. The
.Fn setpriority
-call sets the priorities of all of the specified processes
+system call sets the priorities of all of the specified processes
to the specified value. Only the super-user may lower priorities.
.Sh RETURN VALUES
Since
@@ -102,9 +102,11 @@ if a -1 is an error or a legitimate value.
.Pp
.Rv -std setpriority
.Sh ERRORS
-.Fn Getpriority
+The
+.Fn getpriority
and
.Fn setpriority
+system calls
will fail if:
.Bl -tag -width Er
.It Bq Er ESRCH
@@ -139,5 +141,5 @@ A non super-user attempted to lower a process priority.
.Sh HISTORY
The
.Fn getpriority
-function call appeared in
+system call appeared in
.Bx 4.2 .
OpenPOWER on IntegriCloud