Skip to content

Commit

Permalink
fs/mq_open: revising comments
Browse files Browse the repository at this point in the history
This contains minor revision on comments of `file_mq_open()`.

Signed-off-by: Yanfeng Liu <[email protected]>
  • Loading branch information
yf13 authored and acassis committed Aug 31, 2024
1 parent 4c01594 commit 32801d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/mqueue/mq_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ static mqd_t nxmq_vopen(FAR const char *mq_name, int oflags, va_list ap)
* behavior of this function
*
* Input Parameters:
* mq - address of to-be-initialized struct file instance.
* mq_name - Name of the queue to open
* oflags - open flags
* Optional parameters. When the O_CREAT flag is specified, two optional
Expand All @@ -407,7 +408,7 @@ static mqd_t nxmq_vopen(FAR const char *mq_name, int oflags, va_list ap)
* Returned Value:
* This is an internal OS interface and should not be used by applications.
* 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.
*
****************************************************************************/
Expand Down

0 comments on commit 32801d3

Please sign in to comment.