Yue Wang wrote:
Hi, Arthur and Taco
On 5/22/08, Arthur Reutenauer
wrote: 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 is getting even more off-topic :-)
No, It wont. In Linux/FreeBSD/Mac OS X, -1 will return if it failed. I am pretty sure about that because I read the manual pages of these operating systems yesterday.
i suggest to direct mails about this topic to taco directly Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------