Open System Services Programmer's Guide

Table 13 OSS Process-Management Functions (continued)
Guardian NotesOSS NotesOSS Function
Sets errno to the ENOTOSS value
when called from a Guardian TNS
process.
Can return extended errors.
HP has defined several new signals.
sigsuspend()
Changes a process signal mask and
suspends the calling process.
Results in undefined behavior when
called from a Guardian TNS process.
There are several
implementation-defined features with
respect to the SIGALRM signal.
sleep()
Suspends the calling process for a
specified interval of time.
Sets errno to the ENOTOSS value
when called from a Guardian process.
Is an extension to the XPG4
specification.
Is similar to the exec set of functions;
also allows you to retain the attribute
tdm_execve()
tdm_execvep()
Replaces the current OSS process
image with a new process image (with
HP extensions).
values inherited from the parent
process or to specify other values.
OSS SEEP consultation.
Sets errno to the ENOTOSS value
when called from a Guardian process.
Is an extension to the XPG4
specification.
Is similar to the fork() function; also
allows you to retain the attribute values
tdm_fork()
Creates a new OSS process (with HP
extensions).
inherited from the parent process or
to specify other values.
Does not propagate file locks.
For 64-bit OSS process-creation
details, beginning with the H06.24
and J06.13 RVUs, see “64-Bit OSS
Processes” (page 286).
Sets errno to the ENOTOSS value
when called from a Guardian process.
Can return extended errors.
Is an extension to the XPG4
specification.
tdm_spawn()
tdm_spawnp()
Creates a new OSS process with a
specified executable image (with HP
extensions).
Produces a new OSS process by
combining the function of
tdm_execve() or tdm_execvep()
with tdm_fork(), but with the
following additions:
Parameters control the file
descriptors the child process
inherits from the parent process.
The inherit structure allows the
process group ID and signal mask
of the child process to be specified
in addition to a list of signals that
the child process takes default
action on.
Does not propagate file locks.
For 64-bit OSS process-creation
details, beginning with the H06.24
and J06.13 RVUs, see “64-Bit OSS
Processes” (page 286).
OSS SEEP consultation.
Does not maintain child times.Can return extended errors.times()
Accumulates all processor time as user
time.
There is no overflow limit for the fields
in the tms structure.
Gets calling process and child process
times.
Might not maintain elapsed time
correctly if the processor’s internal clock
is reset.
154 Managing Processes