* [Xenomai] [PATCH] doc: Fix return description for POSIX sched_get_priority functions.
@ 2015-01-09 16:10 Jeffrey Melville
2015-01-12 1:00 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Melville @ 2015-01-09 16:10 UTC (permalink / raw)
To: xenomai@xenomai.org
---
I found a minor issue in the documentation for scheduler priorities in
the 2.6.x tree. See the patch below.
Cheers,
Jeff
ksrc/skins/posix/sched.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ksrc/skins/posix/sched.c b/ksrc/skins/posix/sched.c
index bdb79d3..b1af274 100644
--- a/ksrc/skins/posix/sched.c
+++ b/ksrc/skins/posix/sched.c
@@ -69,7 +69,7 @@
* @param policy scheduling policy, one of SCHED_FIFO, SCHED_RR,
* SCHED_SPORADIC, SCHED_TP or SCHED_OTHER.
*
- * @retval 0 on success;
+ * @retval The minimum priority of @a policy on success;
* @retval -1 with @a errno set if:
* - EINVAL, @a policy is invalid.
*
@@ -105,7 +105,7 @@ int sched_get_priority_min(int policy)
* @param policy scheduling policy, one of SCHED_FIFO, SCHED_RR,
* SCHED_SPORADIC, SCHED_TP or SCHED_OTHER.
*
- * @retval 0 on success;
+ * @retval The maximum priority of @a policy on success;
* @retval -1 with @a errno set if:
* - EINVAL, @a policy is invalid.
*
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-12 1:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-09 16:10 [Xenomai] [PATCH] doc: Fix return description for POSIX sched_get_priority functions Jeffrey Melville
2015-01-12 1:00 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.