MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


PICL Library Functions               piclgetpropbyname(3PICL)



NAME
     piclgetpropbyname - get the handle of  the  property  by
     name

SYNOPSIS
     cc [ flag... ] file... -lpicl [ library... ]
     #include 

     int piclgetpropbyname(piclnodehdlt nodeh, char *name,
          piclprophdlt *proph);


DESCRIPTION
     The piclgetpropbyname() function gets the handle of  the
     property  of node nodeh whose name is specified in name. The
     handle is copied into the location specified by proph.

RETURN VALUES
     Upon successful completion, 0 is  returned.  On  failure,  a
     non-negative integer is returned to indicate an error.


     PICLPROPNOTFOUND is returned if the property of the  speci-
     fied name does not exist.


     PICLRESERVEDNAME is returned if the property name specified
     is one of the reserved property names.


     PICLSTALEHANDLE is returned if  the  handle  is  no  longer
     valid.  This occurs if the PICL tree was refreshed or reini-
     tialized.


     PICLINVALIDHANDLE is returned if the specified handle never
     existed.   This error may be returned for a previously valid
     handle if the daemon was brought down  and  restarted.  When
     this occurs a client must revalidate any saved handles.

ERORS
     PICLNOTINITIALIZED    Session not initialized


     PICLNORESPONSE        Daemon not responding


     PICLNOTNODE           Not a node


     PICLPROPNOTFOUND      Property not found




SunOS 5.11          Last change: 28 Mar 2000                    1






PICL Library Functions               piclgetpropbyname(3PICL)



     PICLRESERVEDNAME      Reserved property name specified


     PICLINVALIDHANDLE     Invalid handle


     PICLSTALEHANDLE       Stale handle


     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                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™