2008/5/22 Arthur Reutenauer <[EMAIL PROTECTED]>: >> No; instead of (uname(&uts)) it should be (uname(&uts) < 0) . > > Well, no: if the function fails on Linux and returns, say, 1, this > test wouldn't catch it. But Taco knows what to do, and the discussion
>From uname(2) on Linux: RETURN VALUE On success, zero is returned. On error, -1 is returned, and errno is set appropriately. And SUS3 has this: Upon successful completion, a non-negative value shall be returned. Otherwise, -1 shall be returned and errno set to indicate the error. Best Martin ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________