source: trunk/libs/newlib/src/newlib/libc/sys/almosmkh/sys/wait.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 756 bytes
Line 
1#ifndef _SYS_WAIT_
2#define _SYS_WAIT_
3
4#include <almos-mkh/wait.h>
5
6typedef int pid_t;
7
8/*****************************************************************************************
9 * This blocking function returns only when one child process of the calling process
10 * changes state (from RUNNING to STOPPED / EXITED / KILLED). It returns the terminating
11 * child process PID, and set in the <status> buffer the new child process state.
12 *****************************************************************************************
13 * @ status    : [out] terminating child process state.
14 * @ returns terminating child process pid.
15 ****************************************************************************************/
16pid_t wait( int * status );
17
18#endif
19
Note: See TracBrowser for help on using the repository browser.