logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

sched_get_priority_max.3p (2696B)


  1. '\" et
  2. .TH SCHED_GET_PRIORITY_MAX "3P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. sched_get_priority_max,
  12. sched_get_priority_min
  13. \(em get priority limits
  14. (\fBREALTIME\fP)
  15. .SH SYNOPSIS
  16. .LP
  17. .nf
  18. #include <sched.h>
  19. .P
  20. int sched_get_priority_max(int \fIpolicy\fP);
  21. int sched_get_priority_min(int \fIpolicy\fP);
  22. .fi
  23. .SH DESCRIPTION
  24. The
  25. \fIsched_get_priority_max\fR()
  26. and
  27. \fIsched_get_priority_min\fR()
  28. functions shall return the appropriate maximum or minimum,
  29. respectively, for the scheduling policy specified by
  30. .IR policy .
  31. .P
  32. The value of
  33. .IR policy
  34. shall be one of the scheduling policy values defined in
  35. .IR <sched.h> .
  36. .SH "RETURN VALUE"
  37. If successful, the
  38. \fIsched_get_priority_max\fR()
  39. and
  40. \fIsched_get_priority_min\fR()
  41. functions shall return the appropriate maximum or minimum values,
  42. respectively. If unsuccessful, they shall return a value of \-1 and
  43. set
  44. .IR errno
  45. to indicate the error.
  46. .SH ERRORS
  47. The
  48. \fIsched_get_priority_max\fR()
  49. and
  50. \fIsched_get_priority_min\fR()
  51. functions shall fail if:
  52. .TP
  53. .BR EINVAL
  54. The value of the
  55. .IR policy
  56. parameter does not represent a defined scheduling policy.
  57. .LP
  58. .IR "The following sections are informative."
  59. .SH EXAMPLES
  60. None.
  61. .SH "APPLICATION USAGE"
  62. None.
  63. .SH RATIONALE
  64. None.
  65. .SH "FUTURE DIRECTIONS"
  66. None.
  67. .SH "SEE ALSO"
  68. .ad l
  69. .IR "\fIsched_getparam\fR\^(\|)",
  70. .IR "\fIsched_setparam\fR\^(\|)",
  71. .IR "\fIsched_getscheduler\fR\^(\|)",
  72. .IR "\fIsched_rr_get_interval\fR\^(\|)",
  73. .IR "\fIsched_setscheduler\fR\^(\|)"
  74. .ad b
  75. .P
  76. The Base Definitions volume of POSIX.1\(hy2017,
  77. .IR "\fB<sched.h>\fP"
  78. .\"
  79. .SH COPYRIGHT
  80. Portions of this text are reprinted and reproduced in electronic form
  81. from IEEE Std 1003.1-2017, Standard for Information Technology
  82. -- Portable Operating System Interface (POSIX), The Open Group Base
  83. Specifications Issue 7, 2018 Edition,
  84. Copyright (C) 2018 by the Institute of
  85. Electrical and Electronics Engineers, Inc and The Open Group.
  86. In the event of any discrepancy between this version and the original IEEE and
  87. The Open Group Standard, the original IEEE and The Open Group Standard
  88. is the referee document. The original Standard can be obtained online at
  89. http://www.opengroup.org/unix/online.html .
  90. .PP
  91. Any typographical or formatting errors that appear
  92. in this page are most likely
  93. to have been introduced during the conversion of the source files to
  94. man page format. To report such errors, see
  95. https://www.kernel.org/doc/man-pages/reporting_bugs.html .