MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Service Configuration Facility Library Functions  scflimit(3SCF)



NAME
     scflimit -  limit  information  for  Service  Configuration
     Facility

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

     ssizet scflimit(uint32t name);


DESCRIPTION
     The   scflimit()   function   returns   information   about
     implementation-defined  limits  in the service configuration
     facility. These limits are  generally  maximum  lengths  for
     various  strings.  The  values returned do not change during
     the execution of a program, but they should  not  be  cached
     between executions.


     The available values for name are:

     SCFLIMITMAXFMRILENGTH

         Return the maximum length of an FMRI the service  confi-
         guration facility accepts.


     SCFLIMITMAXPGTYPELENGTH

         Return the maximum length for property  group  types  in
         the service configuration facility.


     SCFLIMITMAXNAMELENGTH

         Return the maximum length for names in the service  con-
         figuration  facility.  This value does not include space
         for the required terminating null byte.


     SCFLIMITMAXVALUELENGTH

         Return the maximum string length a scfvaluet can hold,
         not including the terminating null byte.



     Lengths do not include space for  the  required  terminating
     null byte.





SunOS 5.11          Last change: 17 Aug 2004                    1






Service Configuration Facility Library Functions  scflimit(3SCF)



RETURN VALUES
     Upon  successful   completion,   scflimit()   returns   the
     requested value. Otherwise, it returns -1.

ERORS
     The scflimit() function will fail if:

     SCFERORINVALIDARGUMENT    The name  argument  is  not  a
                                   recognized request.



     The scferror(3SCF) function can be  used  to  retrieve  the
     error value.

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



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


SEE ALSO
     libscf(3LIB), scferror(3SCF), attributes(5)























SunOS 5.11          Last change: 17 Aug 2004                    2



OpenSolaris man pages main menu

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