repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Support multiarch for i686.
[glibc.git]
/
sysdeps
/
unix
/
ioctls.awk
blob
b05140af7af5ca07e6cbbd0dee307ae96a0e5429
1
BEGIN
{
special =
0
}
2
3
/
REQUESTS
/ {
nreqs =
split
(
requests
,
reqs
)
4
for
(
i =
1
;
i
<
= nreqs
; ++
i
)
5
printf
"#ifdef
\t
%s
\n
DEFINE(
\"
%s
\"
, %s);
\n
#endif
\n
"
,
\
6
reqs
[
i
],
reqs
[
i
],
reqs
[
i
]
7
special =
1
}
8
9
10
{
if
(
special ==
0
)
print
$
0
;
special =
0
}