lael-labs
/
9front
Code
Issues
Pull Requests
Antique
Wiki
Insights
/
9front
/
sys
/
src
/
libc
/
9sys
/
getpid.c
AI
aiju
getpid: use tos
299ab61
15 years ago
History
Code
Blame
9 lines · 91 B · C
Raw
Download
Copy shown lines
#include <u.h>
#include <libc.h>
#include <tos.h>
int
getpid(void)
{
return _tos->pid;
}
#include <u.h> #include <libc.h> #include <tos.h> int getpid(void) { return _tos->pid; }