home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
APPS
/
elm.lzh
/
ELM
/
SRC
/
ERRNO.C
< prev
next >
Wrap
Text File
|
1991-01-11
|
1KB
|
47 lines
static char rcsid[] = "@(#)$Id: errno.c,v 4.1 90/04/28 22:42:58 syd Exp $";
/*******************************************************************************
* The Elm Mail System - $Revision: 4.1 $ $State: Exp $
*
* Copyright (c) 1986, 1987 Dave Taylor
* Copyright (c) 1988, 1989, 1990 USENET Community Trust
*******************************************************************************
* Bug reports, patches, comments, suggestions should be sent to:
*
* Syd Weinstein, Elm Coordinator
* elm@DSI.COM dsinc!elm
*
*******************************************************************************
* $Log: errno.c,v $
* Revision 4.1 90/04/28 22:42:58 syd
* checkin of Elm 2.3 as of Release PL0
*
*
******************************************************************************/
/** This routine maps error numbers to error names and error messages.
These are all directly ripped out of the include file errno.h, and
are HOPEFULLY standardized across the different breeds of Unix!!
If (alas) yours are different, you should be able to use awk to
mangle your errno.h file quite simply...
**/
#include "headers.h"
char *strerror();
char *error_name(errnumber)
int errnumber;
{
return( (char *) strerror(errnumber));
}
char *error_description(errnumber)
int errnumber;
{
return ( (char *) strerror(errnumber));
}