xerhlt.cpp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* xerhlt.f -- translated by f2c (version 20100827).
  2. This file no longer depends on f2c.
  3. */
  4. #include "slatec-internal.hpp"
  5. int xerhlt_(char const *messg, ftnlen const messg_len)
  6. {
  7. /* ***BEGIN PROLOGUE XERHLT */
  8. /* ***SUBSIDIARY */
  9. /* ***PURPOSE Abort program execution and print error message. */
  10. /* ***LIBRARY SLATEC (XERROR) */
  11. /* ***CATEGORY R3C */
  12. /* ***TYPE ALL (XERHLT-A) */
  13. /* ***KEYWORDS ABORT PROGRAM EXECUTION, ERROR, XERROR */
  14. /* ***AUTHOR Jones, R. E., (SNLA) */
  15. /* ***DESCRIPTION */
  16. /* Abstract */
  17. /* ***Note*** machine dependent routine */
  18. /* XERHLT aborts the execution of the program. */
  19. /* The error message causing the abort is given in the calling */
  20. /* sequence, in case one needs it for printing on a dayfile, */
  21. /* for example. */
  22. /* Description of Parameters */
  23. /* MESSG is as in XERMSG. */
  24. /* ***REFERENCES R. E. Jones and D. K. Kahaner, XERROR, the SLATEC */
  25. /* Error-handling Package, SAND82-0800, Sandia */
  26. /* Laboratories, 1982. */
  27. /* ***ROUTINES CALLED (NONE) */
  28. /* ***REVISION HISTORY (YYMMDD) */
  29. /* 790801 DATE WRITTEN */
  30. /* 861211 REVISION DATE from Version 3.2 */
  31. /* 891214 Prologue converted to Version 4.0 format. (BAB) */
  32. /* 900206 Routine changed from user-callable to subsidiary. (WRB) */
  33. /* 900510 Changed calling sequence to delete length of character */
  34. /* and changed routine name from XERABT to XERHLT. (RWC) */
  35. /* 920501 Reformatted the REFERENCES section. (WRB) */
  36. /* ***END PROLOGUE XERHLT */
  37. /* ***FIRST EXECUTABLE STATEMENT XERHLT */
  38. f2c::s_stop("", (ftnlen)0);
  39. return 0;
  40. } /* xerhlt_ */