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 process.
Can return extended errors.
Propagates open file descriptors
except those opened using a
Guardian function or procedure.
execvp()
Replaces the current process image
with a new process image, using a
filename, an argv array, and
**environ.
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.
A Guardian process has no OSS
process ID and therefore has no wait
Child processes of a terminated OSS
process are assigned a parent process
ID of 1.
_exit()
exit()
(wait() or waitpid())
considerations.
Terminate the calling process.
Sets errno to the ENOTOSS value
when called from a Guardian process.
Can return extended errors.
The child process shares directory
streams with the parent. They share
fork()
Creates an OSS process.
the same block of directory entries,
but each stream can be used by only
one of the processes.
Propagates open file descriptors
except those opened using a
Guardian function or procedure.
For 64-bit OSS process-creation
details, beginning with the H06.24
and J06.13 RVUs, see “64-Bit OSS
Processes” (page 286).
A process’s effective group ID can be
different from the group number in its
process access ID (PAID).
getegid()
Gets the effective group ID of the
calling process.
getenv()
Returns the value of an environment
variable.
geteuid()
Gets the effective user ID of the calling
process.
A process’s real group ID can be
different from the group number in its
creator access ID (CAID).
getgid()
Gets the real group ID of the calling
process.
The effective group ID might not occur
in the returned group ID list if the
getgroups()
Gets the group list of the calling
process.
effective group ID has been changed
by executing a set-group-ID program
or by calling the setgid() function.
Sets Guardian trap number 5when
called from a Guardian process.
getpgrp()
Gets the OSS process group ID of the
calling process.
Sets Guardian trap number 5when
called from a Guardian process.
getpid()
Gets the OSS process ID of the calling
process.
OSS Process-Management Functions 151