LC_ALL {.importc.}: cint
LC_CTYPE {.importc.}: cint
proc c_setlocale(category: cint; v: cstring): cstring {.importc: "setlocale", header: "<locale.h>", ...raises: [], tags: [], forbids: [].}
template setlocale(category; v: string): cstring