1SCHED_RR_GET_INTERVAL(3P)  POSIX Programmer's Manual SCHED_RR_GET_INTERVAL(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10
11

NAME

13       sched_rr_get_interval — get execution time limits (REALTIME)
14

SYNOPSIS

16       #include <sched.h>
17
18       int sched_rr_get_interval(pid_t pid, struct timespec *interval);
19

DESCRIPTION

21       The sched_rr_get_interval() function shall update the  timespec  struc‐
22       ture  referenced by the interval argument to contain the current execu‐
23       tion time limit (that is, time quantum) for the  process  specified  by
24       pid.   If pid is zero, the current execution time limit for the calling
25       process shall be returned.
26

RETURN VALUE

28       If successful, the sched_rr_get_interval() function shall return  zero.
29       Otherwise,  it shall return a value of −1 and set errno to indicate the
30       error.
31

ERRORS

33       The sched_rr_get_interval() function shall fail if:
34
35       ESRCH  No process can be found corresponding to that specified by pid.
36
37       The following sections are informative.
38

EXAMPLES

40       None.
41

APPLICATION USAGE

43       None.
44

RATIONALE

46       None.
47

FUTURE DIRECTIONS

49       None.
50

SEE ALSO

52       sched_getparam(), sched_get_priority_max(), sched_getscheduler(),
53       sched_setparam(), sched_setscheduler()
54
55       The Base Definitions volume of POSIX.1‐2008, <sched.h>
56
58       Portions  of  this text are reprinted and reproduced in electronic form
59       from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
60       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
61       Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
62       cal  and  Electronics  Engineers,  Inc  and  The  Open Group.  (This is
63       POSIX.1-2008 with the 2013 Technical Corrigendum  1  applied.)  In  the
64       event of any discrepancy between this version and the original IEEE and
65       The Open Group Standard, the original IEEE and The Open Group  Standard
66       is  the  referee document. The original Standard can be obtained online
67       at http://www.unix.org/online.html .
68
69       Any typographical or formatting errors that appear  in  this  page  are
70       most likely to have been introduced during the conversion of the source
71       files to man page format. To report such errors,  see  https://www.ker
72       nel.org/doc/man-pages/reporting_bugs.html .
73
74
75
76IEEE/The Open Group                  2013            SCHED_RR_GET_INTERVAL(3P)
Impressum