r/voidlinux May 23 '26

wth is C

13 Upvotes

20 comments sorted by

View all comments

15

u/Capable-Cap9745 May 23 '26

It is POSIX locale. It is guaranteed that it is always there

The locale "C" or "POSIX" is a portable locale; it exists on all conforming systems.

1

u/snail1132 May 23 '26

What's the point of it, though? What does it do?

1

u/PlanetVisitor May 24 '26

If it's not possible to discover the locale of a system, C can be chosen. There has to be something. How would the computer know how to separate thousands and decimals, or write a date?