man pages section 3: Extended Library Functions, Volume 3

Exit Print View

Updated: July 2014
 
 

picl_initialize(3PICL)

Name

picl_initialize - initiate a session with the PICL daemon

Synopsis

cc [ flag... ] file... –lpicl [ library... ] 
#include <picl.h>

int picl_initialize(void);

Description

The picl_initialize() function opens the daemon door file and initiates a session with the PICL daemon running on the system.

Return Values

Upon successful completion, 0 is returned. On failure, this function returns a non-negative integer, PICL_FAILURE.

Errors

PICL_NOTSUPPORTED

Version not supported

PICL_FAILURE

General system failure

PICL_NORESPONSE

Daemon not responding

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
MT-Level
MT-Safe

See also

picl_shutdown(3PICL), attributes(5)