]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/errno-to-name.awk
tree-wide: make new/new0/malloc_multiply/reallocarray safe for size 0
[thirdparty/systemd.git] / src / basic / errno-to-name.awk
CommitLineData
b884196c
ZJS
1BEGIN{
2 print "static const char* const errno_names[] = { "
3}
5c23128d 4!/EDEADLOCK/ && !/EWOULDBLOCK/ && !/ENOTSUP/ {
b884196c
ZJS
5 printf " [%s] = \"%s\",\n", $1, $1
6}
7END{
8 print "};"
9}