MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Standard C Library Functions            schedrrgetinterval(3C)



NAME
     schedrrgetinterval - get execution time limits

SYNOPSIS
     #include 

     int schedrrgetinterval(pidt pid,
          struct timespec *interval);


DESCRIPTION
     The schedrrgetinterval() function  updates  the  timespec
     structure referenced by the interval argument to contain the
     current execution time limit (that is, time quantum) for the
     process specified by pid. If pid is 0, the current execution
     time limit for the calling process will be returned.

RETURN VALUES
     If successful, the schedrrgetinterval() function  returns
     0.  Otherwise,  it returns -1 and sets errno to indicate the
     error.

ERORS
     The  schedrrgetinterval() function will fail if:

     ESRCH    No process  can  be  found  corresponding  to  that
              specified by pid.


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



     
     ATRIBUTE TYPE               ATRIBUTE VALUE             
    
     Interface Stability          Committed                   
    
     MT-Level                     MT-Safe                     
    
     Standard                     See standards(5).           
    


SEE ALSO
     librt(3LIB),       sched.h(3HEAD),       schedgetparam(3C),
     schedsetparam(3C),              schedgetprioritymax(3C),
     schedgetscheduler(3C),    schedsetscheduler(3C),    attri-
     butes(5), standards(5)




SunOS 5.11           Last change: 1 Apr 2008                    1



OpenSolaris man pages main menu

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