Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/system/getpid.c File Reference

#include <kernel.h>
#include <proc.h>

Include dependency graph for getpid.c:

Go to the source code of this file.

Functions

syscall getpid (void)


Detailed Description

getpid

Id
getpid.c 241 2007-07-13 22:24:20Z agember

Definition in file getpid.c.


Function Documentation

syscall getpid ( void   ) 

Get the process id of currently executing process.

Returns:
process id of the currently running process

Definition at line 16 of file getpid.c.

References currpid.

Referenced by create(), userret(), xsh_exit(), and xsh_kill().


Generated on Thu Oct 9 22:35:03 2008 for xinu by  doxygen 1.5.5