Michael Kerrisk wrote:
> > > is nl_langinfo(3) somehow different here from a host of
> > > other functions whose behaviour depends on setlocale().
> > > E.g., strptime(3), printf(3), etc, most of which do not
> > > explicitly mention the need to call setlocale()?
> >
> > Not sure about the other functions you mentioned but for nl_langinfo
> > you'll have to execute setlocale first. Please see the attached
> > test program as an example:
>
> I've now doubt that calling setlocale() changes the result
> one gets from nl_langinfo. But this doesn't seem to me
> any different than a number of other functions that are
> modified by calling setlocale(). The way that
> this is generally documented on those pages is under SEE
> ALSO. That was why I asked: how is nl_langinfo() different?
*shrug* I have to give up.
Regards,
Joey
--
Linux - the choice of a GNU generation.
Please always Cc to me when replying to me on the lists.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]