This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Adding ECANCELED to errno.h


Hi,

SUSv mandates errno.h to provide ECANCELED [1]

So far, newlib didn't provided it. Now, RTEMS is going to use it, which
is why I am proposing the patch below.

Ralf

[1] http://www.opengroup.org/onlinepubs/009695399/basedefs/errno.h.html


2007-01-10  Ralf CorsÃpius <ralf.corsepius@rtems.org>

	* libc/include/sys/errno.h: Add ECANCELED.


Index: libc/include/sys/errno.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/errno.h,v
retrieving revision 1.11
diff -u -r1.11 errno.h
--- libc/include/sys/errno.h	24 Sep 2002 14:10:12 -0000	1.11
+++ libc/include/sys/errno.h	10 Jan 2007 04:55:52 -0000
@@ -148,6 +148,7 @@
 #define ECASECLASH 137  /* Filename exists with different case */
 #define EILSEQ 138
 #define EOVERFLOW 139	/* Value too large for defined data type */
+#define ECANCELED 140	/* Operation canceled. */
 
 /* From cygwin32.  */
 #define EWOULDBLOCK EAGAIN	/* Operation would block */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]