pr_newprocessattr.rst (724B)
1 PR_NewProcessAttr 2 ================= 3 4 Creates a process attributes structure. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prlink.h> 13 14 PRProcessAttr *PR_NewProcessAttr(void); 15 16 17 Parameters 18 ~~~~~~~~~~ 19 20 The function has no parameters. 21 22 23 Returns 24 ~~~~~~~ 25 26 A pointer to the new process attributes structure. 27 28 29 Description 30 ----------- 31 32 This function creates a new :ref:`PRProcessAttr`\ structure that specifies 33 the attributes of a new process, then returns a pointer to the 34 structure. The new :ref:`PRProcessAttr`\ structure is initialized with 35 these default attributes: 36 37 - The standard I/O streams (standard input, standard output, and 38 standard error) are not redirected. 39 - No file descriptors are inherited by the new process.