mirror of
https://github.com/drasko/codezero.git
synced 2026-09-22 21:30:21 +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