mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
fs/mq_open: revising comments
This contains minor revision on comments of `file_mq_open()`. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
4c01594d5b
commit
32801d3047
+2
-1
@@ -393,6 +393,7 @@ static mqd_t nxmq_vopen(FAR const char *mq_name, int oflags, va_list ap)
|
|||||||
* behavior of this function
|
* behavior of this function
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
|
* mq - address of to-be-initialized struct file instance.
|
||||||
* mq_name - Name of the queue to open
|
* mq_name - Name of the queue to open
|
||||||
* oflags - open flags
|
* oflags - open flags
|
||||||
* Optional parameters. When the O_CREAT flag is specified, two optional
|
* Optional parameters. When the O_CREAT flag is specified, two optional
|
||||||
@@ -407,7 +408,7 @@ static mqd_t nxmq_vopen(FAR const char *mq_name, int oflags, va_list ap)
|
|||||||
* Returned Value:
|
* Returned Value:
|
||||||
* This is an internal OS interface and should not be used by applications.
|
* This is an internal OS interface and should not be used by applications.
|
||||||
* It follows the NuttX internal error return policy: Zero (OK) is
|
* It follows the NuttX internal error return policy: Zero (OK) is
|
||||||
* returned on success, mqdes point to the new message queue descriptor.
|
* returned on success, instance pointed by mq is also initialized.
|
||||||
* A negated errno value is returned on failure.
|
* A negated errno value is returned on failure.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user