version 1.24, 2005/10/14 06:41:47 |
version 1.25, 2005/10/14 15:41:33 |
|
|
#include "kbd.h" |
#include "kbd.h" |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/stat.h> |
#include <sys/stat.h> |
|
#include <sys/time.h> |
|
#include <sys/resource.h> |
#include <sys/wait.h> |
#include <sys/wait.h> |
|
|
#include <ctype.h> |
#include <ctype.h> |
|
|
reaper(int signo __attribute__((unused))) |
reaper(int signo __attribute__((unused))) |
{ |
{ |
int save_errno = errno, status; |
int save_errno = errno, status; |
pid_t ret; |
|
|
|
while ((ret = waitpid(-1, &status, WNOHANG)) >= 0) |
while (waitpid(-1, &status, WNOHANG) >= 0) |
; |
; |
errno = save_errno; |
errno = save_errno; |
} |
} |