abort_.c 304 B

12345678910111213141516171819202122
  1. #include "stdio.h"
  2. #include "f2c.h"
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #ifdef KR_headers
  7. extern VOID sig_die();
  8. int abort_()
  9. #else
  10. extern void sig_die(const char*,int);
  11. int abort_(void)
  12. #endif
  13. {
  14. sig_die("Fortran abort routine called", 1);
  15. return 0; /* not reached */
  16. }
  17. #ifdef __cplusplus
  18. }
  19. #endif