freebsd-nq/contrib/mdocml/test-cmsg.c
2017-02-19 17:46:37 +00:00

14 lines
174 B
C

#include <stddef.h>
#include <sys/socket.h>
int
main(void)
{
struct msghdr msg;
msg.msg_control = NULL;
msg.msg_controllen = 0;
return CMSG_FIRSTHDR(&msg) != NULL;
}