home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / cug / softt-3.lbr / ENDST.DOC < prev    next >
Text File  |  1984-07-05  |  896b  |  46 lines

  1. .bp 1
  2. .in 0
  3. .he 'ENDST (2)'11/10/78'ENDST (2)'
  4. .fo ''-#-''
  5. .fi
  6. .in 7
  7. .ti -7
  8. NAME
  9. .br
  10. endst - close all open files and terminate program execution
  11. .sp 1
  12. .ti -7
  13. SYNOPSIS
  14. .br
  15. call endst
  16. .sp 1
  17. .ti -7
  18. DESCRIPTION
  19. .br
  20. Normally called at the end of any ratfor program or program
  21. which uses the software tools primitives.
  22. Closes all open files and terminates program execution.
  23. .sp
  24. On many systems a call to endst is made automatically, either
  25. by the system or by specifically inserting the call into
  26. code processed by the ratfor preprocessor.
  27. .sp 1
  28. .ti -7
  29. IMPLEMENTATION
  30. .br
  31. Any open files are closed.
  32. If any files have been opened multiple times (that is, they have more
  33. than one internal descriptor assigned to them), care is
  34. taken that multiple closes do not damage
  35. the file.
  36. .sp 1
  37. .ti -7
  38. SEE ALSO
  39. .br
  40. close, initst
  41. .sp 1
  42. .ti -7
  43. DIAGNOSTICS
  44. .br
  45. None
  46.