home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Source Code
/
C
/
Applications
/
Python 1.4
/
stdwin
/
Gen
/
wperror.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-12-21
|
229 b
|
17 lines
|
[
TEXT/CWIE
]
/* STDWIN -- UNIVERSAL WPERROR. */
#include "tools.h"
#include "stdwin.h"
/* STDWIN equivalent of perror(). */
void
wperror(name)
char *name;
{
char buf[256];
sprintf(buf, "%s: Error %d.", name, errno);
wmessage(buf);
}