PR NewProcessAttr

This is an archived page. It's not actively maintained.

Creates a process attributes structure.


#include <prlink.h>

PRProcessAttr *PR_NewProcessAttr(void);


The function has no parameters.


A pointer to the new process attributes structure.


This function creates a new PRProcessAttr structure that specifies the attributes of a new process, then returns a pointer to the structure. The new PRProcessAttr structure is initialized with these default attributes:

  • The standard I/O streams (standard input, standard output, and standard error) are not redirected.
  • No file descriptors are inherited by the new process.