Workaround broken AIX automake/autoconf/libtool/libstdc++. (#9571)
[mono-project.git] / support / sys-wait.c
blob4dc774d0817cb93514a70a31ca49684e2c9586d0
1 /*
2 * <sys/wait.h> wrapper functions.
4 * Authors:
5 * Jonathan Pryor (jonpryor@vt.edu)
7 * Copyright (C) 2004 Jonathan Pryor
8 */
10 #include <sys/types.h>
11 #include <sys/wait.h>
13 #include <glib.h>
15 #include "mph.h"
16 #include "map.h"
18 G_BEGIN_DECLS
20 gint32
21 Mono_Posix_Syscall_WIFEXITED (gint32 status)
23 return WIFEXITED (status);
26 gint32
27 Mono_Posix_Syscall_WEXITSTATUS (gint32 status)
29 return WEXITSTATUS (status);
32 gint32
33 Mono_Posix_Syscall_WIFSIGNALED (gint32 status)
35 return WIFSIGNALED (status);
38 gint32
39 Mono_Posix_Syscall_WTERMSIG (gint32 status)
41 return WTERMSIG (status);
44 gint32
45 Mono_Posix_Syscall_WIFSTOPPED (gint32 status)
47 return WIFSTOPPED (status);
50 gint32
51 Mono_Posix_Syscall_WSTOPSIG (gint32 status)
53 return WSTOPSIG (status);
56 G_END_DECLS
59 * vim: noexpandtab