home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / UPC2S1.ZIP / POS2ERR.H < prev    next >
Text File  |  1993-09-24  |  2KB  |  40 lines

  1. /*--------------------------------------------------------------------*/
  2. /*       p o s 2 e r r . h                                            */
  3. /*                                                                    */
  4. /*       Report error message from OS/2 error message                 */
  5. /*--------------------------------------------------------------------*/
  6.  
  7. /*--------------------------------------------------------------------*/
  8. /*       Changes Copyright (c) 1989-1993 by Kendra Electronic         */
  9. /*       Wonderworks.                                                 */
  10. /*                                                                    */
  11. /*       All rights reserved except those explicitly granted by       */
  12. /*       the UUPC/extended license agreement.                         */
  13. /*--------------------------------------------------------------------*/
  14.  
  15. /*--------------------------------------------------------------------*/
  16. /*                          RCS Information                           */
  17. /*--------------------------------------------------------------------*/
  18.  
  19. /*
  20.  *    $Id: pos2err.h 1.1 1993/09/24 03:46:07 ahd Exp $
  21.  *
  22.  *    Revision history:
  23.  *    $Log: pos2err.h $
  24.  * Revision 1.1  1993/09/24  03:46:07  ahd
  25.  * Initial revision
  26.  *
  27.  *
  28.  */
  29.  
  30. void pOS2Err(const size_t lineno,
  31.              const char *fname,
  32.              const char *prefix,
  33.              unsigned int rc);
  34.  
  35. /*--------------------------------------------------------------------*/
  36. /*                 Macro for generic error messages from DOS          */
  37. /*--------------------------------------------------------------------*/
  38.  
  39. #define printOS2error( x, rc )  pOS2Err( __LINE__, cfnptr, x, rc)
  40.