summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-12-11 23:02:30 +0000
committermillert <millert@openbsd.org>2003-12-11 23:02:30 +0000
commitc1f74b45732c57baf2962e97f56eca235500643c (patch)
treec2e341794f12ee67b8f4f0219c6e91f4588af9ca /lib/libc/sys
parentPOSIX says rlim_t should be unsigned so make it u_quad_t. Also add (diff)
downloadwireguard-openbsd-c1f74b45732c57baf2962e97f56eca235500643c.tar.xz
wireguard-openbsd-c1f74b45732c57baf2962e97f56eca235500643c.zip
Add id_t type as per POSIX and use it for [gs]etpriority(2).
OK henning@ and deraadt@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/getpriority.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/getpriority.2 b/lib/libc/sys/getpriority.2
index 5c4a42c177c..b0ae6490f11 100644
--- a/lib/libc/sys/getpriority.2
+++ b/lib/libc/sys/getpriority.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpriority.2,v 1.9 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: getpriority.2,v 1.10 2003/12/11 23:02:30 millert Exp $
.\" $NetBSD: getpriority.2,v 1.4 1995/02/27 12:33:15 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -41,9 +41,9 @@
.Fd #include <sys/time.h>
.Fd #include <sys/resource.h>
.Ft int
-.Fn getpriority "int which" "int who"
+.Fn getpriority "int which" "id_t who"
.Ft int
-.Fn setpriority "int which" "int who" "int prio"
+.Fn setpriority "int which" "id_t who" "int prio"
.Sh DESCRIPTION
The scheduling priority of the process, process group, or user,
as indicated by