Sign in
third-party-mirror
/
systemd
/
f229149d865bb087742add2415d0c7c321294591
/
.
/
src
/
basic
/
errno-to-name.awk
blob: 844212448870d623f841a6208dd04e82be6e40af [
file
] [
log
] [
blame
]
# SPDX-License-Identifier: LGPL-2.1-or-later
BEGIN
{
print
"static const char* const errno_names[] = { "
}
!
/(EDEADLOCK|EWOULDBLOCK|ENOTSUP)/
{
printf
" [%s] = \"%s\",\n"
,
$1
,
$1
}
END
{
print
"};"
}