1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

sched.h: Use pid_t type for pid argument

(cherry picked from commit 65dd321054)
This commit is contained in:
David CARLIER 2021-12-17 08:22:21 +02:00 committed by Konstantin Belousov
parent 3f8542d396
commit 86227aa975

View File

@ -44,7 +44,7 @@ __BEGIN_DECLS
#if __BSD_VISIBLE
#ifdef _WITH_CPU_SET_T
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_setaffinity(pid_t pid, size_t cpusetsz, const cpuset_t *cpuset);
int sched_getcpu(void);
#endif /* _WITH_CPU_SET_T */
#endif /* __BSD_VISIBLE */