Does anyone have the source for a PD cp?
Frederick M. Avolio
avolio at decuac.DEC.COM
Wed Jul 2 04:28:20 AEST 1986
> Does anyone have the source code for a Public Domain cp? I'm wanting to
> write one for my IBM AT to compile and use under DOS, but I don't have the
> slightest idea how to do it right. Thanks in advance.
Egad! You don't have a degree in computer science, do you?
Ok...
open first file (checking for errors ... bailout if necessary)
creat second file (checking for errors ... bailout if necessary)
while (read a buffer from first file) is greater than 0,
write a buffer to second file (check for errors..)
exit
--
Fred @ DEC Ultrix Applications Center
INET: avolio at decuac.DEC.COM * Fight the Fight *
UUCP: {decvax,seismo,cbosgd}!decuac!avolio * Rescue the Unborn *
More information about the Comp.unix
mailing list