Path: utzoo!attcan!uunet!cs.utexas.edu!usc!orion.oac.uci.edu!ucivax!self From: self@lafite.ics.uci.edu (John Self) Newsgroups: comp.lang.ada Subject: portable file copying in Ada Message-ID: <26B4813A.16093@ics.uci.edu> Date: 30 Jul 90 18:49:30 GMT Lines: 18 Nntp-Posting-Host: lafite.ics.uci.edu 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