diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-28 16:00:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-28 16:00:57 +0000 |
commit | a300116bf7139941033b6d36dc3814af9d1e67c9 (patch) | |
tree | f7ecf8c9f728717d2d86ad61c9dd70112d23a6f8 /nuttx/sched/mq_receive.c | |
parent | 151a39425178ee628c924b8231ca65e24ee386d7 (diff) | |
download | px4-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_receive.c')
-rw-r--r-- | nuttx/sched/mq_receive.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/sched/mq_receive.c b/nuttx/sched/mq_receive.c index aab7847f1..9d1272ae9 100644 --- a/nuttx/sched/mq_receive.c +++ b/nuttx/sched/mq_receive.c @@ -87,7 +87,7 @@ * "mqdes." If the size of the buffer in bytes (msglen) is * less than the "mq_msgsize" attribute of the message * queue, mq_receive will return an error. Otherwise, the - * select message is removed from the queue and copied to + * selected message is removed from the queue and copied to * "msg." * * If the message queue is empty and O_NONBLOCK was not @@ -103,8 +103,7 @@ * mqdes - Message Queue Descriptor * msg - Buffer to receive the message * msglen - Size of the buffer in bytes - * prio - If not NULL, the location to store message - * priority. + * prio - If not NULL, the location to store message priority. * * Return Value: * One success, the length of the selected message in bytes.is |