mirror of https://gitee.com/openkylin/linux.git
8 lines
83 B
C
8 lines
83 B
C
|
#define _GNU_SOURCE
|
||
|
#include <sched.h>
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
return sched_getcpu();
|
||
|
}
|