Xinu7/man/man2/getpid.doc




GETPID(2)           Xinu Programmer's Manual            GETPID(2)



NAME
     getpid - return the process id of the currently running pro-
     cess

SYNOPSIS
     int getpid()

DESCRIPTION
     _G_e_t_p_i_d returns the process id of the currently executing
     process.  It is necessary to be able to identify one's self
     in order to perform some operations (e.g., change one's
     scheduling priority).











































Version 6b               Printed 1/12/87                        1