system_xsb.h File Reference


Defines

#define PIPE(filedes_array)   pipe(filedes_array)
#define WAIT(pid, status)   waitpid(pid, &status, 0)
#define KILL_FAILED(pid)   kill(pid, SIGKILL) < 0
#define FREE_PROC_TABLE_CELL(pid)
#define PIPE_TO_PROC_FAILED   -1
#define PIPE_FROM_PROC_FAILED   -2
#define SUB_PROC_FAILED   -3
#define MAX_SUBPROC_PARAMS   50
#define MAX_SUBPROC_NUMBER   40
#define RUNNING   1
#define STOPPED   2
#define EXITED_NORMALLY   3
#define EXITED_ABNORMALLY   4
#define ABORTED   5
#define INVALID   6
#define UNKNOWN   7

Functions

int fileno (FILE *f)
FILE * fdopen (int fildes, const char *type)
int kill (pid_t pid, int sig)

Define Documentation

#define ABORTED   5
 

#define EXITED_ABNORMALLY   4
 

#define EXITED_NORMALLY   3
 

#define FREE_PROC_TABLE_CELL pid   ) 
 

Value:

((pid < 0) \
                                     || ((process_status(pid) != RUNNING) \
                                         && (process_status(pid) != STOPPED)))

#define INVALID   6
 

#define KILL_FAILED pid   )     kill(pid, SIGKILL) < 0
 

#define MAX_SUBPROC_NUMBER   40
 

#define MAX_SUBPROC_PARAMS   50
 

#define PIPE filedes_array   )     pipe(filedes_array)
 

#define PIPE_FROM_PROC_FAILED   -2
 

#define PIPE_TO_PROC_FAILED   -1
 

#define RUNNING   1
 

#define STOPPED   2
 

#define SUB_PROC_FAILED   -3
 

#define UNKNOWN   7
 

#define WAIT pid,
status   )     waitpid(pid, &status, 0)
 


Function Documentation

FILE* fdopen int  fildes,
const char *  type
 

int fileno FILE *  f  ) 
 

int kill pid_t  pid,
int  sig
 


Generated on Wed Jul 26 13:26:54 2006 for XSB by  doxygen 1.4.5