home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************
- * lindner
- * 3.1.1.1
- * 1993/02/11 18:03:04
- * /home/mudhoney/GopherSrc/CVS/gopher+/object/Wait.h,v
- * $Status: $
- *
- * Paul Lindner, University of Minnesota CIS.
- *
- * Copyright 1991, 1992 by the Regents of the University of Minnesota
- * see the file "Copyright" in the distribution for conditions of use.
- *********************************************************************
- * MODULE: Wait.h
- * Routines that portably define wait3()
- *********************************************************************
- * Revision History:
- * Wait.h,v
- * Revision 3.1.1.1 1993/02/11 18:03:04 lindner
- * Gopher+1.2beta release
- *
- * Revision 1.1 1992/12/10 23:27:52 lindner
- * gopher 1.1 release
- *
- *
- *********************************************************************/
-
-
- /*
- * A header file to portably include the stuff for doing wait3() etal
- */
-
- #if defined(_AIX) /** AIX needs bsd signals. **/
- #define _BSD
- #endif
-
- #ifdef M_XENIX
- #define __SCO_WAIT3__
- #endif
-
- #include <sys/ioctl.h>
- #include <sys/wait.h>
- #include <signal.h>
-
- #if defined(_SEQUENT_) || defined(POSIXWAIT) || defined(_POSIX_SOURCE)
- typedef int Portawait;
- #define wait3(a,b,c) waitpid(-1,a,c)
- #else
- typedef union wait Portawait;
- #endif
-
-