Category : C Source Code
Archive   : CBIBLE.ZIP
Filename : _STREROR.C
message consisting of your message concatenated with a system message
corresponding to the last error that occured in a library routine */
#include
#include
#include
#include
main()
{
int handle=100;
char *errmsg;
/* Generate an error condition by attempting to duplicate a unused
file handle 100 */
if(dup(handle) == -1)
{
errmsg = _strerror("Error duplicating handle");
printf(errmsg);
}
}
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
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/