Returns specific information about the current process or thread.
#include <sys/encap.h>
int query_proc_info (type)
int type;
Item | Description |
---|---|
type | Specifies the type of process or thread information requested.
The type parameter can be one of the following values:
|
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).
The query_proc_info kernel service can be called from either the process or interrupt environment.
Item | Description |
---|---|
1 | True. |
0 | False. |