On Sun, 13 Jan 2019 05:20:47 +0100, Ingo Schwarze wrote:

> So adding a subsection to the setlocale(3) manual, containing lists
> of functions that are likely to break when you call setlocale(3)
> with bad arguments on non-OpenBSD systems, might make sense.
> Even if we can't guarantee completeness of these lists, they will
> give programmers a better idea about the approximate scopes and sizes
> of the traps.
>
> Once we have that, very short pointers in individual pages become
> sufficient: one short sentence including .Xr setlocale 3 below
> CAVEATS.  Less bloat everywhere, better overview in the one critical
> place.
>
> Does that make sense?

Sure, that would be similar to how we list signal safe functions
in sigaction(2).

 - todd

Reply via email to