![]() |
GNU PROLOG with UTF8 support
|
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | M_OS_UNIX 0 |
#define | M_OS_WINDOWS 1 |
#define | M_OS_WINDOWS_NT 2 |
#define | M_ERROR_WIN32 -2 /* read GetLastError instead of errno */ |
#define | DBGPRINTF printf |
Functions | |
void | Pl_Init_Machine1 (void) |
char ** | Pl_M_Create_Shell_Command (char *cmd) |
char ** | Pl_M_Cmd_Line_To_Argv (char *cmd, int *argc) |
int | Pl_M_Shell (char *cmd) |
int | Pl_M_Spawn (char *arg[]) |
int | Pl_M_Spawn_Redirect (char *arg[], int detach, FILE **f_in, FILE **f_out, FILE **f_err) |
int | Pl_M_Get_Status (int pid) |
char * | Pl_M_Mktemp (char *tmp_template) |
char * | Pl_M_Tempnam (char *dir, char *pfx) |
Variables | |
int | pl_m_os_type |
char | pl_m_architecture [] |
char | pl_m_os_version [] |
#define DBGPRINTF printf |
#define M_ERROR_WIN32 -2 /* read GetLastError instead of errno */ |
#define M_OS_UNIX 0 |
#define M_OS_WINDOWS 1 |
#define M_OS_WINDOWS_NT 2 |
void Pl_Init_Machine1 | ( | void | ) |
char** Pl_M_Cmd_Line_To_Argv | ( | char * | cmd, |
int * | argc | ||
) |
char** Pl_M_Create_Shell_Command | ( | char * | cmd | ) |
int Pl_M_Get_Status | ( | int | pid | ) |
char* Pl_M_Mktemp | ( | char * | tmp_template | ) |
int Pl_M_Shell | ( | char * | cmd | ) |
int Pl_M_Spawn | ( | char * | arg[] | ) |
int Pl_M_Spawn_Redirect | ( | char * | arg[], |
int | detach, | ||
FILE ** | f_in, | ||
FILE ** | f_out, | ||
FILE ** | f_err | ||
) |
char* Pl_M_Tempnam | ( | char * | dir, |
char * | pfx | ||
) |
char pl_m_architecture[] |
int pl_m_os_type |
char pl_m_os_version[] |