1 /* 2 Test for the existence and valid prototype 3 of the mq_send function as specified on 4 line 9689 of the Base Definitions document 5 */ 6 7 #include <mqueue.h> 8 #include "posixtest.h" 9 10 void test_mq_send_prototype(void) 11 { 12 mqd_t mqdes; 13 size_t msg_len; 14 char *msgp; 15 int err; 16 unsigned msg_prio; 17 18 err = mq_receive(mqdes, msgp, msg_len, &msg_prio); 19 20 } 21