Gary said: [API for strerror_r()] > On Linux, yes. But not on all distros. For example, on Android, which gpsd > supports, strerror_r() always returns an int. No options.
Same on NetBSD and FreeBSD. The quirk that's not in the man page is that the GNU version doesn't use the buffer you provide, at least on some implementations and/or some conditions. -- These are my opinions. I hate spam. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel