HP SVA V2.0 Parallel Compositing Reference Guide

pcSystemInitialize(3)
NAME
pcSystemInitialize -- Initializes the Library for a program.
Synopsis
PCerr pcSystemInitialize(
const PCstring searchPath
);
Parameters
searchPath
A pointer to a string that specifies an additional directory to search for the
Library shared libraries before looking in the standard system directories.
Returns
This function returns PC_NO_ERROR on successful completion.
Description
This function initializes a program's use of the Library. This function is called to change the series
of directories searched for shared libraries supplying Library functions and extensions, and to
initialize the Library. You must call this function before calling any other Library function.
The Library looks for the shared libraries in the following locations in order:
1. The directory specified by the PC_LIBRARY_PATH environment variable.
2. The directory specified by the searchPath parameter.
3. The series of directories defined by the Linux operating system.
A NULL or empty searchPath parameter indicates pcSystemInitialize is adding no additional
directories to search.
When called, pcSystemInitialize attempts to bind the shared libraries used by the program.
If this function is not called, calls to other functions implicitly fail.
45