kwpar_isappwpar Kernel Service

Purpose

Returns whether a workload partition is an application workload partition.

Syntax

#include <sys/wparid.h>

int kwpar_isappwpar(kcid)
cid_t kcid;
 

Description

Checks whether the workload partition associated with the kcid is an application workload partition.

Parameters

Item Description
kcid Specifies the workload partition ID.

Execution Environment

Process environment only.

Return Values

Item Description
1 Workload partition is an application workload partition.
0 Workload partition is not an application workload partition.
-1 Indicates that the command did not complete successfully.