This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 4ad0a5b30a6629847d13d0d18bfff6092afa8bb4 Author: Kerogit <kr....@kerogit.eu> AuthorDate: Mon Apr 7 20:43:13 2025 +0200 Documentation/reference/user/02_task_scheduling: fixed function name The document referred to sched_get_rr_interval function but only sched_rr_get_interval exists in the sources. --- Documentation/reference/user/02_task_scheduling.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/reference/user/02_task_scheduling.rst b/Documentation/reference/user/02_task_scheduling.rst index 3a1ae8e966..2e99357ca4 100644 --- a/Documentation/reference/user/02_task_scheduling.rst +++ b/Documentation/reference/user/02_task_scheduling.rst @@ -27,7 +27,7 @@ compliant interface to the NuttX scheduler: - :c:func:`sched_yield` - :c:func:`sched_get_priority_max` - :c:func:`sched_get_priority_min` - - :c:func:`sched_get_rr_interval` + - :c:func:`sched_rr_get_interval` Functions ========= @@ -157,7 +157,7 @@ Functions **POSIX Compatibility:** Comparable to the POSIX interface of the same name. -.. c:function:: int sched_get_rr_interval (pid_t pid, struct timespec *interval) +.. c:function:: int sched_rr_get_interval (pid_t pid, struct timespec *interval) ``sched_rr_get_interval()`` writes the timeslice interval for task identified by ``pid`` into the timespec structure