From 8e26d5b5a766b0e396ed573b67a4f2b50067895c Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 26 Aug 2001 02:28:33 +0000 Subject: * libc/include/sys/errno.h: Add a cautionary comment. --- newlib/libc/include/sys/errno.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc/include/sys/errno.h') diff --git a/newlib/libc/include/sys/errno.h b/newlib/libc/include/sys/errno.h index 672d99eac..26b56925e 100644 --- a/newlib/libc/include/sys/errno.h +++ b/newlib/libc/include/sys/errno.h @@ -15,6 +15,8 @@ extern "C" { 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__ -- cgit v1.2.3