Metropoli BBS
VIEWER: _process.h MODE: TEXT (ASCII)
#if !defined (_SYS_PROCESS_H)
#define _SYS_PROCESS_H

#if defined (__cplusplus)
extern "C" {
#endif

#define P_WAIT    0
#define P_NOWAIT  1
#define P_OVERLAY 2
#define P_DEBUG   3
#define P_SESSION 4
#define P_DETACH  5

int fork (void);
int getpid (void);
int getppid (void);
int spawnl (int mode, __const__ char *name, __const__ char *arg0, ...);
int spawnle (int mode, __const__ char *name, __const__ char *arg0, ...);
int spawnlp (int mode, __const__ char *name, __const__ char *arg0, ...);
int spawnlpe (int mode, __const__ char *name, __const__ char *arg0, ...);
int spawnv (int mode, __const__ char *name, __const__ char * __const__ *argv);
int spawnve (int mode, __const__ char *name, __const__ char * __const__ *argv,
    __const__ char * __const__ *envp);
int spawnvp (int mode, __const__ char *name, __const__ char * __const__ *argv);
int spawnvpe (int mode, __const__ char *name,
    __const__ char * __const__ *argv, __const__ char * __const__ *envp);
int wait (int *status);
int waitpid (int pid, int *status, int options);

#if defined (__cplusplus)
}
#endif

#endif
[ RETURN TO DIRECTORY ]