File: wait.c

package info (click to toggle)
klibc 1.5.12-2lenny1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,856 kB
  • ctags: 6,757
  • sloc: ansic: 44,932; asm: 2,318; perl: 758; makefile: 141; sh: 136; yacc: 105
file content (12 lines) | stat: -rw-r--r-- 157 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * wait.c
 */

#include <stdlib.h>
#include <sys/wait.h>
#include <sys/types.h>

pid_t wait(int *status)
{
	return wait4((pid_t) - 1, status, 0, NULL);
}