Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

61 lines
807 B
C

/*
* <sys/wait.h> wrapper functions.
*
* Authors:
* Jonathan Pryor (jonpryor@vt.edu)
*
* 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
*/