add chdir
[snitchaser:mainline.git] / src / arch / x86 / interp / syscalls / waitpid.c
1 /* 
2  * waitpid.c
3  * by WN @ Jul. 25, 2010
4  */
5
6 #include "syscall_handler.h"
7 #include <common/debug.h>
8
9 #ifndef PRE_LIBRARY
10 DEF_HANDLER(waitpid)
11 {
12         if (regs->ecx != 0)
13                 BUFFER((void*)(regs->ecx), sizeof(int));
14         return 0;
15 }
16 #endif
17
18 // vim:ts=4:sw=4
19