9 lines · 91 B · C
RawDownload
#include	<u.h>#include	<libc.h>#include	<tos.h> intgetpid(void){	return _tos->pid;}