diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-03-27 03:00:06 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-03-27 03:00:06 +0000 |
commit | 3e26bdf09c5e0a4e9b015a5f02b9c948454010e1 (patch) | |
tree | 36f3f9a09138cd7071d3de64269ad734e9d9c50b /contrib/libg++/libio/ioperror.c | |
parent | 536abd52d2bd3b3830d8ac369f03865f32e4d496 (diff) |
Diffstat (limited to 'contrib/libg++/libio/ioperror.c')
-rw-r--r-- | contrib/libg++/libio/ioperror.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/contrib/libg++/libio/ioperror.c b/contrib/libg++/libio/ioperror.c deleted file mode 100644 index 55d822b63a64d..0000000000000 --- a/contrib/libg++/libio/ioperror.c +++ /dev/null @@ -1,22 +0,0 @@ -#include "libioP.h" -#include <errno.h> -#include <string.h> -#ifndef errno -extern int errno; -#endif - -#ifndef _IO_strerror -extern char* _IO_strerror __P((int)); -#endif - -void -DEFUN(_IO_perror, (s), - const char *s) -{ - char *error = _IO_strerror (errno); - - if (s != NULL && *s != '\0') - _IO_fprintf (_IO_stderr, "%s:", s); - - _IO_fprintf (_IO_stderr, "%s\n", error ? error : ""); -} |