repo.or.cz
/
uclibc-ng.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
microblaze: add ulps file
[uclibc-ng.git]
/
librt
/
mq_close.c
blob
cf04044ccaee96ae2e2bfade207ed71ccd0f7f85
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