www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/23/07:47:16

Date: Fri, 23 Feb 1996 07:42:05 -0500
From: dj (DJ Delorie)
Message-Id: <199602231242.HAA23736@delorie.com>
To: j DOT aldrich6 AT genie DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <199602230222.AA219862133@relay1.geis.com> (j.aldrich6@genie.com)
Subject: Re: errno question: EWOULDBLOCK

> Here's a question for v2:  The errno EWOULDBLOCK, which a
> large program I am working on uses, does not seem to be defined
> in errno.h in v2.  I am not even sure what EWOULDBLOCK is used for - I just

Change the code to look like this:

	#ifdef EWOULDBLOCK
	     blah blah
	#endif
	#ifdef EAGAIN
	     blah blah
	#endif

The EAGAIN is the posix version of that error, and that's what djgpp
uses.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019