int VCSAgGetContainerBasePath (char *buf, int bufsize, int *exit_info)
This API returns the base path of the container mentioned under the ContainerInfo attribute at group level. This API must be called from the global zone or WPAR.
For Solaris zones:
If the agent is running on a Solaris machine, the API returns the base path of the zone where zone is installed.
For WPARs
If the agent is running on an AIX machine, the API returns the base path of the WPAR where WPAR is installed.
Input parameters:
buf |
Buffer to store the base path of the container. Caller must make the provision to reserve and release the memory for the buffer. |
bufsize |
Size of the buffer passed. |
Output parameters:
buf |
Buffer to store the base path of the container at the end of its execution. |
exit_info |
Provides extended information to the caller in certain cases as described under Return values. |
Return values: