Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!yale!mintaka!olivea!oliveb!pyramid!voder!apple!sun-barr!cs.utexas.edu!usc!samsung!uunet!dialogic!gerry From: gerry@dialogic.UUCP (Gerry Lachac) Newsgroups: comp.os.os2.programmer Subject: C6.00 and errno Message-ID: <1#19@dialogic.UUCP> Date: 20 Sep 90 18:50:15 GMT Organization: Dialogic Corporation Lines: 19 I've started converting a large amount of MSC 5.1 code to 6.0, and ran into a wall. My code sets errno to private values (retubned by a custom driver). In 5.1 this was no problem since errno was just an extern int. In 6.0 (I assume to facilitate threads) errno is defined as a function. I cannot find anything in the documentation that lets me set the errno value. The errno.h header file claims errno is set by "system functions". Does anyone know how to set errno in C6.0? -- uunet!dialogic!gerry | "Even a dead plant turns | Dialogic Corporation OR | over a new leaf | 300 Littleton Rd gerry@dialogic.UUCP | when the wind blows." | Parsippany, NJ 07054 | | (201)334-8450