/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 1985-2012 AT&T Intellectual Property *4* and is licensed under the *5* Eclipse Public License, Version 1.0 *6* by AT&T Intellectual Property *7* *8* A copy of the License is available at *9* http://www.eclipse.org/org/documents/epl-v10.html *10* (with md5 checksum b35adb5213ca9657e911e9befb180842) *11* *12* Information and Software Systems Research *13* AT&T Research *14* Florham Park NJ *15* *16* Glenn Fowler <[email protected]> *17* David Korn <[email protected]> *18* Phong Vo <[email protected]> *19* *20***********************************************************************/21#pragma prototyped22/*23* Glenn Fowler24* AT&T Research25*26* process library definitions27*/2829#ifndef _PROCLIB_H30#define _PROCLIB_H3132#include <ast_standards.h>33#include <ast.h>34#include <errno.h>35#include <sig.h>36#include <wait.h>3738#if _lib_sigprocmask39typedef sigset_t Sig_mask_t;40#else41typedef unsigned long Sig_mask_t;42#endif4344struct Mods_s;4546#define _PROC_PRIVATE_ \47struct Mod_s* mods; /* process modification state */ \48long flags; /* original PROC_* flags */ \49Sig_mask_t mask; /* original blocked sig mask */ \50Sig_handler_t sigchld; /* PROC_FOREGROUND SIG_DFL */ \51Sig_handler_t sigint; /* PROC_FOREGROUND SIG_IGN */ \52Sig_handler_t sigquit; /* PROC_FOREGROUND SIG_IGN */5354#include <proc.h>5556#define proc_default _proc_info_ /* hide external symbol */5758extern Proc_t proc_default; /* first proc */5960#ifndef errno61extern int errno;62#endif6364#endif656667