1 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined XPG42
2 // should test for not an array type.
6 element {struct sigevent} int sigev_notify
7 element {struct sigevent} int sigev_signo
8 element {struct sigevent} {union sigval} sigev_value
9 element {struct sigevent} {void(*} sigev_notify_function )(union sigval)
10 element {struct sigevent} {pthread_attr_t*} sigev_notify_attributes
13 // Bug 21279: mq_attr elements have wrong type.
14 xfail[x86_64-x32-linux]-element {struct mq_attr} long mq_flags
15 xfail[x86_64-x32-linux]-element {struct mq_attr} long mq_maxmsg
16 xfail[x86_64-x32-linux]-element {struct mq_attr} long mq_msgsize
17 xfail[x86_64-x32-linux]-element {struct mq_attr} long mq_curmsgs
19 function int mq_close (mqd_t)
20 function int mq_getattr (mqd_t, struct mq_attr*)
21 function int mq_notify (mqd_t, const struct sigevent*)
22 function mqd_t mq_open (const char*, int, ...)
23 function ssize_t mq_receive (mqd_t, char*, size_t, unsigned int*)
24 function int mq_send (mqd_t, const char*, size_t, unsigned int)
25 function int mq_setattr (mqd_t, const struct mq_attr*, struct mq_attr*)
26 function int mq_unlink (const char*)
27 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
28 optional-function ssize_t mq_timedreceive (mqd_t, char*, size_t, unsigned int*, const struct timespec*)
29 optional-function int mq_timedsend (mqd_t, const char*, size_t, unsigned int, const struct timespec*)
32 #if defined XOPEN2K8 || defined POSIX2008
36 type {struct timespec}
41 allow-header sys/types.h