source: trunk/minix/lib/posix/_getpid.c@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 137 bytes
RevLine 
[9]1#include <lib.h>
2#define getpid _getpid
3#include <unistd.h>
4
5PUBLIC pid_t getpid()
6{
7 message m;
8
9 return(_syscall(MM, GETPID, &m));
10}
Note: See TracBrowser for help on using the repository browser.