COPYRIGHT NOTICE: text and code copied or derived from gnu’s git commit
message, mailinglist, or codebase are subject to
GPL-3.0
§
trivias
Double negate: not sure exactly why but I think this is to sanitize the values:
0 -> 0 , non-zero -> 1.
// locale_ok = !!setlocale (LC_ALL, "");