PICL Library Functions piclwait(3PICL)
NAME
piclwait - wait for PICL tree to refresh
SYNOPSIS
cc [ flag... ] file... -lpicl [ library... ]
#include
int piclwait(int tosecs);
DESCRIPTION
The piclwait() function blocks the calling thread until the
PICL tree is refreshed. The tosecs argument specifies the
timeout for the call in number of seconds. A value of -1 for
tosecs specifies no timeout.
RETURN VALUES
The piclwait() function returns 0 to indicate that PICL
tree has refreshed. Otherwise, a non-negative integer is
returned to indicate error.
ERORS
PICLNOTINITIALIZED Session not initialized
PICLNORESPONSE Daemon not responding
PICLTIMEDOUT Timed out waiting for refresh
PICLFAILURE General system failure
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level MT-Safe
SEE ALSO
attributes(5)
SunOS 5.11 Last change: 28 Mar 2000 1
|