summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-10-22 15:35:53 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2022-01-14 16:17:29 +0000
commita48d9f1900d48eb7222ade05df10df73097b8cca (patch)
treef3494c5706729097c42b3eeb61b661ac9f0a63d0 /include
parent526f94cc0ee105f6d3fded2d49fb0fa67155a4a6 (diff)
Diffstat (limited to 'include')
-rw-r--r--include/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sched.h b/include/sched.h
index 531ecb1bb9a3..1c41cda79046 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -47,6 +47,7 @@ __BEGIN_DECLS
#if __BSD_VISIBLE
int sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset);
int sched_setaffinity(int pid, size_t cpusetsz, const cpuset_t *cpuset);
+int sched_getcpu(void);
#endif /* __BSD_VISIBLE */
__END_DECLS