blob: b5441f9c82fe5387a8687cd2a56a67ec57e9a459 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#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;
}
|