diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-06-18 18:13:14 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-06-18 18:13:14 +0000 |
commit | c3a1a84ac4ab349cae4edd4ea4916d441e5592d2 (patch) | |
tree | 73dad42ab84d2e1f7ae89fca2652ee78b01649af /contrib/libio/ioperror.c | |
parent | 1b5c321d3f5e74248a590fd7e644c832368dda9d (diff) |
Notes
Diffstat (limited to 'contrib/libio/ioperror.c')
-rw-r--r-- | contrib/libio/ioperror.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/contrib/libio/ioperror.c b/contrib/libio/ioperror.c deleted file mode 100644 index 7ca72b0bb60b1..0000000000000 --- a/contrib/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 -_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 : ""); -} |