News for hackers. Stuff that matters.
Re:Why isn't memset() async-signal-safe? by pjmlp on Wednesday January 04, 2017 @07:39AM (#13317742)
> I doubt anyone has managed that for nontrivial programs, and it's too hard to tell.

In the early 2000's, the company I worked for was deploying UNIX based software for GNU/Linux, FreeBSD, HP-UX, Aix, Solaris and Windows (yes Windows, not a typo).

Re:Why isn't memset() async-signal-safe? by lmm on Wednesday January 04, 2017 @10:07AM (#13318801)
Sure, writing a program that works on 6 actually existing unices with test instances (or even just documentation) is relatively easy. Writing one for all possible unices including some that don't exist at the time of writing is a lot harder.
Re:Why isn't memset() async-signal-safe? by pjmlp on Wednesday January 04, 2017 @02:51PM (#13321452)
Those 6 were already enough to learn how "portable" POSIX actually is.