Open System Services Programmer's Guide

Table 13 OSS Process-Management Functions (continued)
Guardian NotesOSS NotesOSS Function
Sets errno to the ENOTOSS value and
sets Guardian trap number 5 when
called from a Guardian process.
Can return extended errors.setpgrp()
Creates a new session when the
calling process is not a process group
leader, and sets the process group ID
of the calling process.
setregid()
Sets the real and effective group IDs
of the current process
setreuid()
Sets the real and effective user IDs of
the current process
Sets errno to the ENOTOSS value and
sets Guardian trap number 5 when
called from a Guardian process.
Can return extended errors.setsid()
Creates a new session and sets the
process group ID.
The value of the user ID must be in the
range 0 through 65535.
setuid()
Sets the user ID of the calling process.
Sets errno to the ENOTOSS value
when called from a Guardian TNS
process.
Can return extended errors.
HP has defined several new signals.
sigaction()
Specifies the action to be taken upon
delivery of a signal.
Not meaningful when called from a
Guardian TNS process.
Can return extended errors.sigaddset()
Adds a signal to a signal set.
Not meaningful when called from a
Guardian TNS process.
Can return extended errors.sigdelset()
Deletes a signal from a signal set.
Not meaningful when called from a
Guardian TNS process.
Can return extended errors.sigemptyset()
Initializes a signal set to exclude all
signals.
Not meaningful when called from a
Guardian TNS process.
Can return extended errors.sigfillset()
Initializes a signal set to include all
signals.
Not meaningful when called from a
Guardian TNS process.
Can return extended errors.sigismember()
Tests whether a signal is a member of
a signal set.
Results in undefined behavior when
called from a Guardian TNS process.
siglongjmp()
Performs a nonlocal goto.
Sets errno to the ENOTOSS value
when called from a Guardian TNS
process.
Can return extended errors.
HP has defined several new signals.
signal()
Specifies the action to be taken upon
delivery of a signal.
Sets errno to the ENOTOSS value
when called from a Guardian TNS
process.
Can return extended errors.sigpending()
Returns the set of signals that are
blocked from delivery and pending to
the calling process.
Sets errno to the ENOTOSS value
when called from a Guardian TNS
process.
Can return extended errors.
HP has defined several new signals.
sigprocmask()
Changes or examines a process signal
mask.
Results in undefined behavior when
called from a Guardian TNS process.
sigsetjmp()
Saves the current execution context
and can save the current process
signal mask.
OSS Process-Management Functions 153