Thread View: comp.os.os2.programmer
1 messages
1 total messages
Started by Gerry Lachac
Thu, 20 Sep 1990 18:50
C6.00 and errno
Author: Gerry Lachac
Date: Thu, 20 Sep 1990 18:50
Date: Thu, 20 Sep 1990 18:50
19 lines
1057 bytes
1057 bytes
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 (returned 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads