projects
/
kopensolaris-gnu
/
glibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[kopensolaris-gnu/glibc.git]
/
sysdeps
/
unix
/
ioctls-tmpl.c
1
#include <sys/types.h>
2
#include <sys/param.h>
3
#include <sys/ioctl.h>
4
5
#ifdef SIOCGIFCONF
6
#include <sys/socket.h>
7
#include <sys/time.h>
8
#include <net/if.h>
9
#include <net/route.h>
10
#if defined(SIOCGARP) && !defined(ARPOP_REQUEST)
11
#include <net/if_arp.h>
12
#endif
13
#ifdef SIOCGNIT
14
#include <net/nit.h>
15
#endif
16
#endif
17
18
19
#define DEFINE(name, value) \
20
printf("#define %s 0x%.8x\n", (name), (value))
21
22
int
23
main()
24
{
25
REQUESTS
26
27
exit(0);
28
return 0;
29
}