1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)abort_.c	5.1	6/7/85
   7:  */
   8: 
   9: #include <stdio.h>
  10: 
  11: #if pdp11
  12: abort_()
  13: {
  14:     fprintf(stderr, "Fortran abort routine called\n");
  15:     f_exit();
  16:     _cleanup();
  17:     abort();
  18: }
  19: #else   vax
  20: abort_(msg,len)
  21: char *msg; int len;
  22: {
  23:     fprintf(stderr, "abort: ");
  24:     if (nargs()) while (len-- > 0) fputc(*msg++, stderr);
  25:     else fprintf(stderr, "called");
  26:     fputc('\n', stderr);
  27:     f77_abort();
  28: }
  29: #endif	vax

Defined functions

abort_ defined in line 20; never used
Last modified: 1985-06-08
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1001
Valid CSS Valid XHTML 1.0 Strict