wait.h revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
*/
#ifndef _WAIT_H
#define _WAIT_H
#include <ast.h>
#include <ast_wait.h>
#if _sys_wait
#if defined(__STDPP__directive) && defined(__STDPP__hide)
#else
#define wait ______wait
#define waitpid ______waitpid
#endif
#if defined(__STDPP__directive) && defined(__STDPP__hide)
#else
#endif
#endif
#ifndef WNOHANG
#define WNOHANG 1
#endif
#ifndef WUNTRACED
#define WUNTRACED 2
#endif
#if !_ok_wif
#endif
#ifndef WIFEXITED
#endif
#ifndef WEXITSTATUS
#endif
#ifndef WIFSIGNALED
#endif
#ifndef WTERMSIG
#endif
#ifndef WIFSTOPPED
#endif
#ifndef WSTOPSIG
#define WSTOPSIG(x) WEXITSTATUS(x)
#endif
#ifndef WTERMCORE
#endif
#endif