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

  1. .bp 1
  2. .in 0
  3. .he 'FCOPY (2)'11/13/7'FCOPY (2)'
  4. .fo ''-#-''
  5. .fi
  6. .in 7
  7. .ti -7
  8. NAME
  9. .br
  10. fcopy - copy file in to file out
  11. .sp 1
  12. .ti -7
  13. SYNOPSIS
  14. .br
  15. .nf
  16. call fcopy (in, out)
  17.  
  18. integer in, out
  19. .fi
  20. .sp 1
  21. .ti -7
  22. DESCRIPTION
  23. .br
  24. Assuming that both files are opened, positioned, and ready to go,
  25. the routine copies lines from the current file position until
  26. an EOF is reached on file 'in'.
  27. 'in' and 'out' are file identifiers returned by open or create.
  28. .sp 1
  29. .ti -7
  30. IMPLEMENTATION
  31. .br
  32. 'Fcopy' simply makes repeated calls to getlin and putlin.
  33. .sp 1
  34. .ti -7
  35. SEE ALSO
  36. .br
  37. open, create, getlin, putlin
  38. .sp 1
  39. .ti -7
  40. DIAGNOSTICS
  41. .br
  42. None
  43.