comp.lang.ada
 help / color / mirror / Atom feed
From: self@lafite.ics.uci.edu (John Self)
Subject: portable file copying in Ada
Date: 30 Jul 90 18:49:30 GMT	[thread overview]
Message-ID: <26B4813A.16093@ics.uci.edu> (raw)

Is it possible to write a portable procedure to copy non-text files in
Ada?  What should I use for the element type when I instantiate
SEQUENTIAL_IO?   The procedure I want to write takes two file names,
and copies the contents of the file named by the first to the second.
I will not do any interpretation of the file, I just need to make an
exact copy of the contents.  If the underlying operating system is
based on files containing bytes, then I want to copy bytes.  If it
uses packed 27 bit words I'd be happy to copy those.

					Thanks,
						John Self
						self@ics.uci.edu
						sdcsvax!ucivax!self
						JTSELF@UCI.BITNET

--
					Thanks,
						John

                 reply	other threads:[~1990-07-30 18:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox