git.ckatri.com
/
mandoc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
With the improved escape sequence parser, it becomes easy to also improve
[mandoc.git]
/
test-cmsg.c
1
#include <stddef.h>
2
#include <sys/socket.h>
3
4
int
5
main
(
void
)
6
{
7
struct
msghdr msg
;
8
9
msg
.
msg_control
=
NULL
;
10
msg
.
msg_controllen
=
0
;
11
12
return
CMSG_FIRSTHDR
(&
msg
) !=
NULL
;
13
}