[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New errno.h entry?



Hello all

While porting the Empire unix client to MiNT,  I came across an error
descriptor that was not in the MiNTlibs... namely: EAGAIN.

So I just took a look at errno.h and added an entry where it seemed fit.
If there are reasons why the error number should not be 92, let me
know.

Yves

--- errno.old	Wed Nov 29 19:17:32 1995+++ errno.h	Wed Nov 29 
19:32:22 1995@@ -85,6 +85,7 @@ # define EDOM		 89
 #define EIO		 90		/* I/O error */
 #define ENOSPC		 91		/* disk full */
+#define EAGAIN		 92             /* non-blocking socket operation
+   					   failed; try again */
 
 #define EINTR	        128		/* this *should* be fake */