1picl_wait(3PICL)            PICL Library Functions            picl_wait(3PICL)
2
3
4

NAME

6       picl_wait - wait for PICL tree to refresh
7

SYNOPSIS

9       cc [ flag... ] file... -lpicl [ library... ]
10       #include <picl.h>
11
12       int picl_wait(int to_secs);
13
14

DESCRIPTION

16       The  picl_wait() function blocks the calling thread until the PICL tree
17       is refreshed. The to_secs argument specifies the timeout for  the  call
18       in number of seconds. A value of −1 for to_secs specifies no timeout.
19

RETURN VALUES

21       The  picl_wait()  function  returns  0  to  indicate that PICL tree has
22       refreshed. Otherwise, a non-negative integer is  returned  to  indicate
23       error.
24

ERRORS

26       PICL_NOTINITIALIZED    Session not initialized
27
28
29       PICL_NORESPONSE        Daemon not responding
30
31
32       PICL_TIMEDOUT          Timed out waiting for refresh
33
34
35       PICL_FAILURE           General system failure
36
37

ATTRIBUTES

39       See attributes(5) for descriptions of the following attributes:
40
41
42
43
44       ┌─────────────────────────────┬─────────────────────────────┐
45       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
46       ├─────────────────────────────┼─────────────────────────────┤
47       │MT-Level                     │MT-Safe                      │
48       └─────────────────────────────┴─────────────────────────────┘
49

SEE ALSO

51       attributes(5)
52
53
54
55SunOS 5.11                        28 Mar 2000                 picl_wait(3PICL)
Impressum