summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2008-04-20 15:51:56 +0000
committerantoine <antoine@FreeBSD.org>2008-04-20 15:51:56 +0000
commit8d9408ec26ebf2cae3e68b3e6faf3a450073332a (patch)
tree69bf1c7d1dd5c81e0f3155bb5d44a86011d8adfe /lib
parent475838228befd0e9dc448f0e6db920483d471ace (diff)
downloadFreeBSD-src-8d9408ec26ebf2cae3e68b3e6faf3a450073332a.zip
FreeBSD-src-8d9408ec26ebf2cae3e68b3e6faf3a450073332a.tar.gz
Document that you must include <sys/param.h> before <sys/cpuset.h>.
Approved by: rwatson (mentor)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/cpuset.21
-rw-r--r--lib/libc/sys/cpuset_getaffinity.21
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/cpuset.2 b/lib/libc/sys/cpuset.2
index fae9a38..90d0241 100644
--- a/lib/libc/sys/cpuset.2
+++ b/lib/libc/sys/cpuset.2
@@ -36,6 +36,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
+.In sys/param.h
.In sys/cpuset.h
.Ft int
.Fn cpuset "cpusetid_t *setid"
diff --git a/lib/libc/sys/cpuset_getaffinity.2 b/lib/libc/sys/cpuset_getaffinity.2
index fe03ebc..67d1ef0 100644
--- a/lib/libc/sys/cpuset_getaffinity.2
+++ b/lib/libc/sys/cpuset_getaffinity.2
@@ -35,6 +35,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
+.In sys/param.h
.In sys/cpuset.h
.Ft int
.Fn cpuset_getaffinity "cpulevel_t level" "cpuwhich_t which" "id_t id" "size_t setsize" "cpuset_t *mask"
OpenPOWER on IntegriCloud