| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- /*
- * <sys/wait.h> wrapper functions.
- *
- * Authors:
- * Jonathan Pryor ([email protected])
- *
- * Copyright (C) 2004 Jonathan Pryor
- */
- #include <sys/types.h>
- #include <sys/wait.h>
- #include <glib.h>
- #include "mph.h"
- #include "map.h"
- G_BEGIN_DECLS
- gint32
- Mono_Posix_Syscall_WIFEXITED (gint32 status)
- {
- return WIFEXITED (status);
- }
- gint32
- Mono_Posix_Syscall_WEXITSTATUS (gint32 status)
- {
- return WEXITSTATUS (status);
- }
- gint32
- Mono_Posix_Syscall_WIFSIGNALED (gint32 status)
- {
- return WIFSIGNALED (status);
- }
- gint32
- Mono_Posix_Syscall_WTERMSIG (gint32 status)
- {
- return WTERMSIG (status);
- }
- gint32
- Mono_Posix_Syscall_WIFSTOPPED (gint32 status)
- {
- return WIFSTOPPED (status);
- }
- gint32
- Mono_Posix_Syscall_WSTOPSIG (gint32 status)
- {
- return WSTOPSIG (status);
- }
- G_END_DECLS
- /*
- * vim: noexpandtab
- */
|