3 /ERRNOS
/ { nerrnos =
split(errnos
, errs
)
4 for (i =
1; i
<= nerrnos
; ++i
)
5 # Some systems define errno codes inside undefined #ifdefs,
6 # and then never actually use them.
7 printf "#ifdef %s\n DO(\"%s\", %s);\n#endif\n", \
8 errs
[i
], errs
[i
], errs
[i
]
12 { if (special ==
0) print $
0; special =
0 }