From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 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 Nntp-Posting-Host: lafite.ics.uci.edu List-Id: 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