2005-11-06 Zoltan Varga <vargaz@freemail.hu>
[mono-project.git] / support / sys-wait.c
blobbe2def7bda2ed3cb9fb1a7cc50fddedd62a2afc2
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/gtypes.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