PICL_INITIALIZE(3PICL) PICL Library Functions 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)


March 28, 2000 PICL_INITIALIZE(3PICL)