Typedefs | Functions

prproces.h File Reference

#include "prtypes.h"
#include "prio.h"
Include dependency graph for nspr/prproces.h:
This graph shows which files directly or indirectly include this file:

Typedefs

typedef struct PRProcess PRProcess
typedef struct PRProcessAttr PRProcessAttr

Functions

PRProcessAttrPR_NewProcessAttr (void)
void PR_ResetProcessAttr (PRProcessAttr *attr)
void PR_DestroyProcessAttr (PRProcessAttr *attr)
void PR_ProcessAttrSetStdioRedirect (PRProcessAttr *attr, PRSpecialFD stdioFd, PRFileDesc *redirectFd)
void PR_SetStdioRedirect (PRProcessAttr *attr, PRSpecialFD stdioFd, PRFileDesc *redirectFd)
PRStatus PR_ProcessAttrSetCurrentDirectory (PRProcessAttr *attr, const char *dir)
PRStatus PR_ProcessAttrSetInheritableFD (PRProcessAttr *attr, PRFileDesc *fd, const char *name)
PRProcessPR_CreateProcess (const char *path, char *const *argv, char *const *envp, const PRProcessAttr *attr)
PRStatus PR_CreateProcessDetached (const char *path, char *const *argv, char *const *envp, const PRProcessAttr *attr)
PRStatus PR_DetachProcess (PRProcess *process)
PRStatus PR_WaitProcess (PRProcess *process, PRInt32 *exitCode)
PRStatus PR_KillProcess (PRProcess *process)

Typedef Documentation

typedef struct PRProcess PRProcess
typedef struct PRProcessAttr PRProcessAttr

Function Documentation

PRProcess* PR_CreateProcess ( const char *  path,
char *const *  argv,
char *const *  envp,
const PRProcessAttr attr 
)
PRStatus PR_CreateProcessDetached ( const char *  path,
char *const *  argv,
char *const *  envp,
const PRProcessAttr attr 
)
void PR_DestroyProcessAttr ( PRProcessAttr attr  ) 
PRStatus PR_DetachProcess ( PRProcess process  ) 
PRStatus PR_KillProcess ( PRProcess process  ) 
PRProcessAttr* PR_NewProcessAttr ( void   ) 
PRStatus PR_ProcessAttrSetCurrentDirectory ( PRProcessAttr attr,
const char *  dir 
)
PRStatus PR_ProcessAttrSetInheritableFD ( PRProcessAttr attr,
PRFileDesc fd,
const char *  name 
)
void PR_ProcessAttrSetStdioRedirect ( PRProcessAttr attr,
PRSpecialFD  stdioFd,
PRFileDesc redirectFd 
)
void PR_ResetProcessAttr ( PRProcessAttr attr  ) 
void PR_SetStdioRedirect ( PRProcessAttr attr,
PRSpecialFD  stdioFd,
PRFileDesc redirectFd 
)
PRStatus PR_WaitProcess ( PRProcess process,
PRInt32 *  exitCode 
)