/* File IO for GNU Emacs.
- Copyright (C) 1985, 1986, 1987, 1988, 1993 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
This file is part of GNU Emacs.
#ifndef vax11c
extern int errno;
-extern char *sys_errlist[];
-extern int sys_nerr;
#endif
-#define err_str(a) ((a) < sys_nerr ? sys_errlist[a] : "unknown error")
+extern char *strerror ();
#ifdef APOLLO
#include <sys/time.h>
if (how_much < 0)
error ("IO error reading %s: %s",
- XSTRING (filename)->data, err_str (errno));
+ XSTRING (filename)->data, strerror (errno));
notfound:
handled:
current_buffer->modtime = st.st_mtime;
if (failure)
- error ("IO error writing %s: %s", fn, err_str (save_errno));
+ error ("IO error writing %s: %s", fn, strerror (save_errno));
if (visiting)
{