Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-38
/
.
/
src
/
basic
/
errno-to-name.awk
blob: 0878abacbd61e91e224e72c051e2ac2d303dbbd3 [
file
] [
log
] [
blame
] [
raw
]
BEGIN
{
print
"static const char* const errno_names[] = { "
}
!
/EDEADLOCK/
&&
!
/EWOULDBLOCK/
&&
!
/ENOTSUP/
{
printf
" [%s] = \"%s\",\n"
,
$1
,
$1
}
END
{
print
"};"
}