Yo Richard! On Thu, 29 Aug 2019 14:35:36 -0500 Richard Laager via devel <devel@ntpsec.org> wrote:
> On 8/29/19 2:20 PM, Gary E. Miller via devel wrote: > > Sadly we do not get to pick the API. The user picks the available > > APIs when he picks a distro. > Read `man strerror_r`. The defines determine which API (XSI or GNU) > glibc provides. You, the application author, pick the API by setting > the macros. On Linux, yes. But not on all distros. For example, on Android, which gpsd supports, strerror_r() always returns an int. No options. Ditto on osx which NTPsec supports: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/strerror.3.html RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can't measure it, you can't improve it." - Lord Kelvin
pgpkbIR5jBhv1.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel