MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Locality Group Library Functions                 lgrproot(3LGRP)



NAME
     lgrproot - return root lgroup ID

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

     lgrpidt lgrproot(lgrpcookiet cookie);


DESCRIPTION
     The lgrproot() function returns the root lgroup ID.

RETURN VALUES
     Upon successful completion, lgrproot() returns  the  lgroup
     ID  of  the  root  lgroup. Otherwise, it returns -1 and sets
     errno to indicate the error.

ERORS
     The lgrproot() function will fail if:

     EINVAL    The cookie is not valid.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     lgrpchildren(3LGRP), lgrpinit(3LGRP),  lgrpnlgrps(3LGRP),
     lgrpparents(3LGRP), liblgrp(3LIB), attributes(5)













SunOS 5.11          Last change: 31 Jan 2008                    1



OpenSolaris man pages main menu

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