2.9
[glibc/nacl-glibc.git] / conform / data / mqueue.h-data
blob6ec1e312d5edeb606651a0af566f2e0f67c13dc8
1 #ifndef ISO
2 // should test for not an array type.
3 type mqd_t
5 type {struct sigevent}
7 type {struct mq_attr}
8 element {struct mq_attr} long mq_flags
9 element {struct mq_attr} long mq_maxmsg
10 element {struct mq_attr} long mq_msgsize
11 element {struct mq_attr} long mq_curmsgs
13 function int mq_close (mqd_t)
14 function int mq_getattr (mqd_t, struct mq_attr*)
15 function int mq_notify (mqd_t, const struct sigevent*)
16 function mqd_t mq_open (const char*, int, ...)
17 function ssize_t mq_receive (mqd_t, char*, size_t, unsigned int*)
18 function int mq_send (mqd_t, const char*, size_t, unsigned int)
19 function int mq_setattr (mqd_t, const struct mq_attr*, struct mq_attr*)
20 function int mq_unlink (const char*)
21 #ifdef XOPEN2K
22 optional-function ssize_t mq_timedreceive (mqd_t, char*, size_t, unsigned int*, const struct timespec*)
23 optional-function int mq_timedsend (mqd_t, const char*, size_t, unsigned int, const struct timespec*)
24 #endif
26 allow-header fcntl.h
27 allow-header signal.h
28 allow-header sys/types.h
29 allow-header time.h
31 allow *_t
32 #endif