|
Data Structures |
struct | proc_table_t |
struct | proc_table_t::proc_array_t |
Defines |
#define | MAX_CMD_LEN 1024 |
Functions |
static int | xsb_spawn (char *prog, char *arg[], int callno, int pipe1[], int pipe2[], int pipe3[], FILE *toprocess_fptr, FILE *fromprocess_fptr, FILE *fromproc_stderr_fptr) |
static void | concat_array (char *array[], char *separator, char *result_str, int maxsize) |
static int | get_free_process_cell (void) |
static void | init_process_table (void) |
static int | process_status (int pid) |
static void | split_command_arguments (char *string, char *params[], char *callname) |
static char * | get_next_command_argument (char **buffptr, char **cmdlineprt) |
static int | file_copy (char *, char *) |
static int | copy_file_chunk (FILE *, FILE *, unsigned long) |
static char * | xreadlink (const char *, int *) |
static xsbBool | file_stat (CTXTdeclc int callno, char *file) |
static int | xsb_find_first_file (CTXTdeclc prolog_term, char *, prolog_term) |
static int | xsb_find_next_file (CTXTdeclc prolog_term, char *, prolog_term) |
int | sys_syscall (CTXTdeclc int callno) |
xsbBool | sys_system (CTXTdeclc int callno) |
Variables |
static struct proc_table_t | xsb_process_table |