sched.h: Use pid_t type for pid argument

MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33533
This commit is contained in:
David CARLIER 2021-12-17 08:22:21 +02:00 committed by Konstantin Belousov
parent caacda7a3e
commit 65dd321054

View file

@ -41,7 +41,7 @@ typedef struct _cpuset cpu_set_t;
__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_setaffinity(pid_t pid, size_t cpusetsz, const cpuset_t *cpuset);
int sched_getcpu(void);
#endif /* __BSD_VISIBLE */
__END_DECLS