mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
Completes the re-implementation of mq_unlink()
This commit is contained in:
@@ -45,6 +45,13 @@
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_FS_MQUEUE_MPATH
|
||||
# define CONFIG_FS_MQUEUE_MPATH "/var/mqueue"
|
||||
#endif
|
||||
|
||||
/* Sizes of things */
|
||||
|
||||
#define MAX_MQUEUE_PATH 64
|
||||
|
||||
@@ -68,6 +75,22 @@ extern "C"
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: mq_close
|
||||
*
|
||||
* Description:
|
||||
* Release a reference count on a message queue inode.
|
||||
*
|
||||
* Parameters:
|
||||
* inode - The message queue inode
|
||||
*
|
||||
* Return Value:
|
||||
* None
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void mq_release(FAR struct inode *inode);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user