Open System Services System Calls Reference Manual (G06.25+, H06.03+)

System Functions (t) tdm_fork(2)
Use From the Guardian Environment
If called from a Guardian process, the actions of this function are undened and errno is set to
[ENOTOSS].
OSS Attributes
The child process inherits the following OSS attributes from the parent process:
Environment
Close-on-exec ags
Signal-handling settings
Saved-set-user-ID mode bit
Saved-set-group-ID mode bit
Process group ID
Current directory
Root directory
File mode creation mask
File size limit (see the ulimit(2) reference page)
Attached semaphore set IDs
Attached shared memory segments
The OSS attributes of the child process differ from those of the parent process in the following
ways:
The child process has a unique OSS process ID (PID) and does not match any active pro-
cess group ID.
The parent process ID of the child process matches the OSS process ID of the parent.
The child process has its own copy of the parent processs le descriptors. However,
each of the childs le descriptors shares a common le pointer with the corresponding
le descriptor of the parent process.
The child process does not inherit any le open created by a Guardian function or pro-
cedure call.
The child process does not inherit le locks.
The child processs tms_utime, tms_stime, tms_cutime, and tms_cstime values are set
to 0 (zero).
Any pending alarms are cleared in the child process.
Any signals pending for the parent process are not inherited by the child process.
Any adjust-on-exit (semadj) values of the parent process are not inherited by the child
process.
527186-003 Hewlett-Packard Company 831