1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-17 18:43:50 +01:00

9 lines
120 B
C

#include <stdio.h>
#include <thread.h>
int main(void)
{
int pid = thread_getpid();
printf("PID: %i\n", pid);
}