Category : OS/2 Files
Archive   : ERRABORT.ZIP
Filename : OS2LOCAL.H

 
Output of file : OS2LOCAL.H contained in archive : ERRABORT.ZIP
/* "os2local.h" for OS/2 1.1 and Microsoft C Version 5.1 compiler */

#if defined _os2local
/* Do nothing. */
#else
extern void EXPENTRY errabort (PSZ pszProgramName, PSZ pszFunctionName,
PSZ pszCallerName, USHORT usLineNum, USHORT usReturn) ;

#define ERRCHK(os2name) if (usRC != 0) { \
errabort (pszProgramName, #os2name, pszFunctionName, \
__LINE__, usRC) ; \
}

/* Standard devices. */
#define STDIN 0
#define STDOUT 1
#define STDERR 2

#define _os2local
#endif /* #if defined _os2local */
/* end of insert file "os2local.h" */


  3 Responses to “Category : OS/2 Files
Archive   : ERRABORT.ZIP
Filename : OS2LOCAL.H

  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/