add sched_getcpu
authorNathan Zadoks <nathan@nathan7.eu>
Wed, 2 Mar 2016 16:26:26 +0000 (17:26 +0100)
committerRich Felker <dalias@aerifal.cx>
Thu, 3 Mar 2016 02:32:36 +0000 (21:32 -0500)
commit98d335735d64ee34a34cb9c08ea2cb51a076d2a1
treeb8d57da2b7e216381f34d9695a0c8cb8d8f9e527
parent29b13575376509bb21539711f30c1deaf0823033
add sched_getcpu

This is a GNU extension, but a fairly minor one, for a system call that
otherwise has no libc wrapper.
include/sched.h
src/sched/sched_getcpu.c [new file with mode: 0644]