summaryrefslogtreecommitdiff
path: root/nuttx/sched/mq_send.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-28 16:00:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-28 16:00:57 +0000
commita300116bf7139941033b6d36dc3814af9d1e67c9 (patch)
treef7ecf8c9f728717d2d86ad61c9dd70112d23a6f8 /nuttx/sched/mq_send.c
parent151a39425178ee628c924b8231ca65e24ee386d7 (diff)
downloadpx4-nuttx-a300116bf7139941033b6d36dc3814af9d1e67c9.tar.gz
px4-nuttx-a300116bf7139941033b6d36dc3814af9d1e67c9.tar.bz2
px4-nuttx-a300116bf7139941033b6d36dc3814af9d1e67c9.zip
Update mq_send() and mq_receive() description
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@165 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/mq_send.c')
-rw-r--r--nuttx/sched/mq_send.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/mq_send.c b/nuttx/sched/mq_send.c
index f8768c9a4..faa03e720 100644
--- a/nuttx/sched/mq_send.c
+++ b/nuttx/sched/mq_send.c
@@ -177,7 +177,7 @@ FAR mqmsg_t *mq_msgalloc(void)
* This length must not exceed the maximum message length
* from the mq_getattr().
*
- * If the message queue is not full, mq_send() will in the
+ * If the message queue is not full, mq_send() place the
* message in the message queue at the position indicated
* by the "prio" argrument. Messages with higher priority
* will be inserted before lower priority messages. The
@@ -198,8 +198,8 @@ FAR mqmsg_t *mq_msgalloc(void)
* prio - The priority of the message
*
* Return Value:
- * On success, mq_send() returns0 (OK); on error, -1 (ERROR)
- * is returned, with errno set to indicate the error:
+ * On success, mq_send() returns 0 (OK); on error, -1 (ERROR)
+ * is returned, with errno set to indicate the error:
*
* EAGAIN The queue was empty, and the O_NONBLOCK flag was
* set for the message queue description referred to