OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
arm: move check for BX to its own header
[uclinux-h8/uClibc.git]
/
librt
/
mq_close.c
1
/*
2
* mq_close.c - close a message queue.
3
*/
4
5
#include <errno.h>
6
#include <unistd.h>
7
#include <sys/syscall.h>
8
9
#include <mqueue.h>
10
11
#ifdef __NR_mq_open
12
13
/*
14
* Remove the association between message queue descriptor and its
15
* message queue.
16
*/
17
int mq_close(mqd_t mqdes)
18
{
19
return close(mqdes);
20
}
21
22
#endif