Skip to content

Commit

Permalink
Added comments to the .c source file under rt-thread\components\libc
Browse files Browse the repository at this point in the history
  • Loading branch information
strongYourSister committed Oct 30, 2023
1 parent e09ecfd commit fd3603f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/libc/posix/ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@

/**
* @brief Set the attributes of a message queue.
*
* This function sets the attributes of a message queue referred to by the mqd_t (id).
* If the (mqstat) parameter is NULL, it retrieves the attributes and stores them in (omqstat).
*
* @param id The message queue descriptor.
* @param mqstat Pointer to the new attributes for the message queue (can be NULL).
* @param omqstat Pointer to store the old attributes (used when (mqstat) is NULL).
*
* @return 0 on success, -1 on failure.
*/
int mq_setattr(mqd_t id,
Expand All @@ -44,7 +42,6 @@ RTM_EXPORT(mq_setattr);
*
* @param id The message queue descriptor.
* @param mqstat Pointer to the structure where attributes will be stored.
*
* @return 0 on success, -1 on failure.
*/
int mq_getattr(mqd_t id, struct mq_attr *mqstat)
Expand Down

0 comments on commit fd3603f

Please sign in to comment.