Category : C Source Code
Archive   : CSRC2.ZIP
Filename : PERROR.C

 
Output of file : PERROR.C contained in archive : CSRC2.ZIP
/*
* p e r r o r . c
*/

/*)LIBRARY
*/

#ifdef DOCUMENTATION

title perror Print Library Error Message
index Print library error message

synopsis
.s.nf
perror(text)
char *text;

Description

An error message is written to stderr, using the
current i/o library error (stored in c_ferr).
Text is prepended to the message.

Bugs

Subfunctional

#endif

#include

perror(text)
char *text;
/*
* Print an error message
*/
{
fprintf(stderr, "%s: I/O library error\n", text);
}



  3 Responses to “Category : C Source Code
Archive   : CSRC2.ZIP
Filename : PERROR.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/