GNU PROLOG with UTF8 support
Macros | Functions | Variables
machine1.h File Reference
#include <stdio.h>
Include dependency graph for machine1.h:
This graph shows which files directly or indirectly include this file:

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 []
 

Macro Definition Documentation

#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

Function Documentation

void Pl_Init_Machine1 ( void  )

Here is the caller graph for this function:

char** Pl_M_Cmd_Line_To_Argv ( char *  cmd,
int *  argc 
)

Here is the caller graph for this function:

char** Pl_M_Create_Shell_Command ( char *  cmd)

Here is the caller graph for this function:

int Pl_M_Get_Status ( int  pid)

Here is the caller graph for this function:

char* Pl_M_Mktemp ( char *  tmp_template)

Here is the caller graph for this function:

int Pl_M_Shell ( char *  cmd)

Here is the call graph for this function:

Here is the caller graph for this function:

int Pl_M_Spawn ( char *  arg[])

Here is the call graph for this function:

Here is the caller graph for this function:

int Pl_M_Spawn_Redirect ( char *  arg[],
int  detach,
FILE **  f_in,
FILE **  f_out,
FILE **  f_err 
)

Here is the call graph for this function:

Here is the caller graph for this function:

char* Pl_M_Tempnam ( char *  dir,
char *  pfx 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

char pl_m_architecture[]
int pl_m_os_type
char pl_m_os_version[]