/
niceSOFT
/
inetutils
Обзор
Документация
Войти
/
niceSOFT
/
inetutils
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
inetutils-1_4
libinetutils/waitpid.c
18 строк
303 B
Sergey Poznyakoff
07 авг 2000, 08:49
07 авг 2000, 08:49
4f75c54
Код
Авторство
О чём код?
#include <unistd.h> #include <sys/wait.h> pid_t waitpid (pid_t pid, int *status, int options) { #if defined(HAVE_WAIT4) return wait4 (pid, status, options, (struct rusage *)0); #elif defined(HAVE_WAIT3) return wait3 (status, options, (struct rusage *)0); #else errno = ENOSYS; return -1; }