Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Issue 8 POSIX changes coming



On Tue, Mar 24, 2020 at 12:58:15AM +0700, Robert Elz wrote:
>     Date:        Mon, 23 Mar 2020 18:09:50 +0100
>     From:        Joerg Sonnenberger <joerg%bec.de@localhost>
>     Message-ID:  <20200323170950.GA120063%bec.de@localhost>
> 
>   | On Mon, Mar 23, 2020 at 11:50:37PM +0700, Robert Elz wrote:
>   | > strerror_r is semi-deprecated, Issue 7 (current POSIX) already has a
>   | > strerror_l() function we do not seem to support.
>   |
>   | We do have it.
> 
> So we do.  What we don't appear to have is a man page that includes
> it though (that's where I looked to see if the function existed, a much
> quicker check than either gazing at the sources, or nm on libc.so).
> 
> I see we also have strerror_lr() (which is just the same as I suggested
> but with the two suffix letters in the other order - irrelevant diff) which
> is great - but again, at least as far as I can tell, no man page.

We have _l versions of every function that depends on the (global)
locale. It's a lot of busy work to add them to the various man pages...

Joerg


Home | Main Index | Thread Index | Old Index