Home | History | Annotate | Download | only in mqueue_h
      1 /*
      2   Test for the existence and valid prototype
      3   of the mq_timedsend function as specified on
      4   line 9694 of the Base Definitions document
      5 */
      6 
      7 #include <mqueue.h>
      8 #include <time.h>
      9 #include "posixtest.h"
     10 
     11 void test_mq_timedsend_prototype(void)
     12 {
     13 	mqd_t mqdes;
     14 	struct timespec timeout;
     15 	char *msgp;
     16 	int err;
     17 	size_t msg_len;
     18 	unsigned msg_prio;
     19 
     20 	mqdes = NULL;
     21 	msgp = NULL;
     22 	msg_len = 0;
     23 	msg_prio = 0;
     24 
     25 	err = mq_timedsend(mqdes, msgp, msg_len, msg_prio, &timeout);
     26 
     27 }
     28