.th K_get_process_status II 4/21/86
.sh NAME
K_get_process_status - get type dependent information for a process
.sh "MODULA SYNOPSIS"
.nh
.na
 CONST procSeid: seid;
.br
 VAR status: proc_stat_block;
.br
 VAR stat: K_err_num;
.br
 . . .
.br
 stat := NK_get_process_status(procSeid, status);
.br
.hy
.ad
.sp
.sh "C SYNOPSIS"
.nh
.na
 seid procSeid;;
.br
 proc_stat_block status;
.br
 int stat;
.br
 . . .
.br
 stat = K_get_process_status (procSeid, &status);
.br
.hy
.ad
.sh DESCRIPTION
The K_get_process_status call returns, in the status parameter, the
type dependent information about the process specified by procSeid.  A
null seid in procSeid indicates that status for the calling process is
to be returned.  A process may successfully request information of
processes that it can access given its level and the level of the
target process.
.sh EXCEPTIONS
.lp 22 15
XbPrSd	The seid is not a valid process seid, the process
does not exist, or the calling process has
insufficient access to determine the existence of
the target process.
.i0
.sh "SEE ALSO"
K_set_process_status(II),
proc_stat_block(IIa),
seid(IIa)
