home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / uccs / root.14 / udk / usr / include / fatal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-19  |  1.0 KB  |  35 lines

  1. /*
  2.  * Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved. 
  3.  *                                                                         
  4.  *        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE               
  5.  *                   SANTA CRUZ OPERATION INC.                             
  6.  *                                                                         
  7.  *   The copyright notice above does not evidence any actual or intended   
  8.  *   publication of such source code.                                      
  9.  */
  10.  
  11. #ifndef _FATAL_H
  12. #define _FATAL_H
  13.  
  14. #ident    "@(#)sgs-head:common/head/fatal.h    1.4.4.2"
  15.  
  16. #include <setjmp.h>
  17. extern    int    Fflags;
  18. extern    char    *Ffile;
  19. extern    int    Fvalue;
  20. extern    int    (*Ffunc)();
  21. extern    jmp_buf    Fjmp;
  22.  
  23. # define FTLMSG        0100000
  24. # define FTLCLN         040000
  25. # define FTLFUNC     020000
  26. # define FTLACT            077
  27. # define FTLJMP             02
  28. # define FTLEXIT         01
  29. # define FTLRET              0
  30.  
  31. # define FSAVE(val)    SAVE(Fflags,old_Fflags); Fflags = val;
  32. # define FRSTR()    RSTR(Fflags,old_Fflags);
  33.  
  34. #endif /* _FATAL_H */
  35.