PatchworkOS  da8a090
A non-POSIX operating system.
Loading...
Searching...
No Matches
getpid.c
Go to the documentation of this file.
1#include <stdio.h>
2#include <sys/io.h>
3
5
7{
8 return _syscall_getpid();
9}
pid_t getpid(void)
System call to retrieve the current pid.
Definition getpid.c:6
__UINT64_TYPE__ pid_t
Process Identifier.
Definition pid_t.h:11
static pid_t _syscall_getpid(void)
Definition syscalls.h:123