Hi Karl,

Karl Williamson wrote on Sun, Apr 01, 2018 at 09:37:38PM -0600:

> Your program looks like it does precisely what I meant in [*].  I'm 
> presuming that the order that the individual categories are displayed in 
>   bar/foo/C/C/C/C
> is invariant.

Yes, as documented in the manual page:

  https://man.openbsd.org/setlocale.3#RETURN_VALUES

Look for "in that order" in there.

> A human may not be able to read that, but as long as your 
> code knows that the 2nd is always LC_CTYPE, it's fine.  Your example 
> indicates that, but I thought it worth explicitly mentioning

I agree that it is worth mentioning.

So we are done...  :-)

Thanks again,
  Ingo

Reply via email to