Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

tdm_fork(2) OSS System Calls Reference Manual
The child process shares directory streams with the parent. They share the same block of
directory entries. When reading an entry, the buffer pointer is advanced by one entry.
From the perspective of either process, an entry might be skipped.
If both processes call the readdir() function for a shared stream, the results are
undefined. After such a call by both functions, another call to the readdir() function by
either process has undefined results.
Default Guardian Attributes
If the pe_parms parameter contains a null pointer, then the child process inherits all the follow-
ing default Guardian attributes from the parent process:
Program file
Any library file
The size and contents of any instance data segments for native libraries
Priority (the child process inherits the parent’s current priority)
Processor on which the process executes
Home terminal
For G-series TNS processes and accelerated processes, the size and contents of the data
segment
For G-series TNS processes and accelerated processes, the size and contents of the
extended data segment
The assignment of the data segment size is different from the assignment made when
creating a child process with Guardian procedures.
For native processes, the contents of the stack segment from its origin to the currently
in-use location; the rest of the child process stack is 0 (zero)
For native processes, the size and contents of the globals-heap segment
Job ID
DEFINE mode
Creator access ID (CAID)
Process access ID (PAID)
Security group list
Job ancestor or GMOM
Unread system message index (PCBMCNT)
This attribute assignment is different from the assignment made when creating a child
process with Guardian procedures.
Outstanding incoming and outgoing message limits
This attribute assignment is different from the assignment made when creating a child
process with Guardian procedures.
834 Hewlett-Packard Company 527186-023