Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/sys/wait.h')
-rw-r--r--newlib/libc/sys/linux/sys/wait.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/newlib/libc/sys/linux/sys/wait.h b/newlib/libc/sys/linux/sys/wait.h
deleted file mode 100644
index 4cc337783..000000000
--- a/newlib/libc/sys/linux/sys/wait.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/* libc/sys/linux/sys/wait.h - Wait for children */
-
-/* Written 2000 by Werner Almesberger */
-
-
-#ifndef _SYS_WAIT_H
-#define _SYS_WAIT_H
-
-#include <linux/wait.h>
-
-#define WIFEXITED(status) (!WTERMSIG(status))
-#define WEXITSTATUS(status) (((status) >> 8) & 0xff)
-#define WIFSIGNALED(status) (!WIFSTOPPED(status) && !WIFEXITED(status))
-#define WTERMSIG(status) ((status ) & 0x7f)
-#define WIFSTOPPED(status) (((status) & 0xff) == 0x7f)
-#define WSTOPSIG(status) WEXITSTATUS(status)
-
-#ifndef _POSIX_SOURCE
-#define WCOREDUMP(status) ((status) & 0x80)
-#endif
-
-/* --- redundant stuff below --- */
-
-#include <_ansi.h>
-#include <sys/types.h>
-
-pid_t wait (int *);
-pid_t waitpid (pid_t, int *, int);
-
-pid_t _wait (int *);
-
-
-#ifndef _POSIX_SOURCE
-#include <sys/resource.h>
-
-pid_t wait3(int *status,int options,struct rusage *rusage);
-pid_t wait4(pid_t pid,int *status,int options,struct rusage *rusage);
-#endif
-
-#endif