summaryrefslogtreecommitdiff
path: root/src/basic/errno-to-name.awk
blob: c48c8f93ab15dc0e0e415d18256506cff207ae49 (plain)
1
2
3
4
BEGIN{ print "static const char* const errno_names[] = { " }
!/EDEADLOCK/ && !/EWOULDBLOCK/ && !/ENOTSUP/ {
    printf "        [%s] = \"%s\",\n", $1, $1 }
END{ print "};" }