UT/UT_Spawn.h File Reference

#include "UT_API.h"
#include <SYS/SYS_Types.h>
#include "UT_SysClone.h"

Go to the source code of this file.

Classes

class  UT_SystemWaitLoop

Defines

#define INVALID_PID   (pid_t)-1

Typedefs

typedef void(* UTsysWaitLoop )(int state)

Functions

bool UTisValidPid (pid_t pid)
UT_API pid_t UTspawnvp (const char *const *args, int detachConsole=0, bool ignore_output=false)
UT_API pid_t UTspawn (const char *string, int detachConsole=0, bool ignore_output=false)
UT_API int UTwait (pid_t pid)
UT_API int UTisRunning (pid_t pid, int *exit_code)
UT_API int UTisAnyProcessRunning (pid_t pid)
UT_API bool UTcheckProcessId (pid_t pid)
UT_API pid_t UTbackground (const char *name, int full_daemon=0)
UT_API void UTforeground (const char *name="Console")
UT_API void UTkill (pid_t pid)
UT_API void UTterminate (pid_t pid)


Define Documentation

#define INVALID_PID   (pid_t)-1

Definition at line 27 of file UT_Spawn.h.


Typedef Documentation

typedef void(* UTsysWaitLoop)(int state)

Definition at line 29 of file UT_Spawn.h.


Function Documentation

UT_API pid_t UTbackground ( const char *  name,
int  full_daemon = 0 
)

UT_API bool UTcheckProcessId ( pid_t  pid  ) 

UT_API void UTforeground ( const char *  name = "Console"  ) 

UT_API int UTisAnyProcessRunning ( pid_t  pid  ) 

UT_API int UTisRunning ( pid_t  pid,
int *  exit_code 
)

bool UTisValidPid ( pid_t  pid  )  [inline]

Definition at line 45 of file UT_Spawn.h.

UT_API void UTkill ( pid_t  pid  ) 

UT_API pid_t UTspawn ( const char *  string,
int  detachConsole = 0,
bool  ignore_output = false 
)

UT_API pid_t UTspawnvp ( const char *const *  args,
int  detachConsole = 0,
bool  ignore_output = false 
)

UT_API void UTterminate ( pid_t  pid  ) 

UT_API int UTwait ( pid_t  pid  ) 


Generated on Thu May 24 00:09:05 2012 for HDK by  doxygen 1.5.9