2 #ifdef POSIX_MESSAGE_PASSING
5 #define F(t,n) {t *y = &x.n;}
21 {int(*p
)(mqd_t
) = mq_close
;}
22 {int(*p
)(mqd_t
,struct mq_attr
*) = mq_getattr
;}
23 {int(*p
)(mqd_t
,const struct sigevent
*) = mq_notify
;}
24 {mqd_t(*p
)(const char*,int,...) = mq_open
;}
25 {ssize_t(*p
)(mqd_t
,char*,size_t,unsigned*) = mq_receive
;}
26 {int(*p
)(mqd_t
,const char*,size_t,unsigned) = mq_send
;}
27 {int(*p
)(mqd_t
,const struct mq_attr
*restrict
,struct mq_attr
*restrict
) = mq_setattr
;}
28 {int(*p
)(const char*) = mq_unlink
;}
33 {ssize_t(*p
)(mqd_t
,char*restrict
,size_t,unsigned*restrict
,const struct timespec
*restrict
) = mq_timedreceive
;}
34 {int(*p
)(mqd_t
,const char*,size_t,unsigned,const struct timespec
*) = mq_timedsend
;}