mirror of
https://github.com/drasko/codezero.git
synced 2026-10-12 03:07:02 +02:00
getpid() call
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
#include <l4lib/arch/syscalls.h>
|
||||||
|
#include <l4lib/arch/syslib.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
pid_t getpid(void)
|
||||||
|
{
|
||||||
|
return self_tid();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user