query_proc_info Kernel Service
Purpose
Returns specific information about the current process or thread.
Syntax
#include <sys/encap.h>
int query_proc_info (type)
int type;
int type;
Parameters
Item | Description |
---|---|
type | Specifies the type of process or thread information requested.
The type parameter can be one of the following values:
|
Description
The query_proc_info kernel service returns information about the current process or thread.
When called with the value QPI_XPG_SUS_ENV as the type parameter, it returns TRUE (1) when the process has SPEC 1170 active, that is, the process was issued with the environment variable XPG_SUS_ENV defined. Otherwise, the routine returns FALSE (0). When called with the value QTI_FUNNELLED as the type parameter, the query_proc_info kernel service returns TRUE (1) if the current thread has been funneled. Otherwise, the routine returns FALSE (0).
Execution Environment
The query_proc_info kernel service can be called from either the process or interrupt environment.
Return Values
Item | Description |
---|---|
1 | True. |
0 | False. |