anyone object to this cautionary comment?

Christopher Faylor cgf@redhat.com
Wed Aug 15 14:31:00 GMT 2001


Index: libc/include/sys/errno.h
===================================================================
RCS file: /cvs/uberbaum/newlib/libc/include/sys/errno.h,v
retrieving revision 1.7
diff -p -r1.7 errno.h
*** errno.h	2001/08/14 14:36:58	1.7
--- errno.h	2001/08/15 18:46:26
*************** extern "C" {
*** 15,20 ****
--- 15,22 ----
  extern int *__errno _PARAMS ((void));
  #endif
  
+ /* Please don't use these variables directly.
+    Use strerror instead. */
  extern __IMPORT _CONST char * _CONST _sys_errlist[];
  extern __IMPORT int _sys_nerr;
  #ifdef __CYGWIN__

cgf



More information about the Newlib mailing list