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 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4e01810dd682523f,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-16 10:28:37 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!news.moneng.mei.com!hookup!news.mathworks.com!zombie.ncsc.mil!paladin.american.edu!auvm!PSAVAX.PWFL.COM!CONDIC Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU Newsgroups: comp.lang.ada Message-ID: <9411161633.AA14878@ajpo.sei.cmu.edu> Date: Wed, 16 Nov 1994 11:29:51 EST Sender: Ada programming language From: CONDIC@PSAVAX.PWFL.COM Subject: low level i/o package search Comments: To: INFO-ADA@ajpo.sei.cmu.edu Date: 1994-11-16T11:29:51-05:00 List-Id: From: Marin David Condic, 407.796.8997, M/S 731-93 Subject: low level i/o package search Original_To: INTERNET Original_cc: CONDIC I am posting this message for a friend of mine. If you know of something that fits the description or have something you can share, please e-mail to me at: CONDICMA@PWFL.COM A "reply" to my outgoing address will invariably bounce so be sure to use the above form. Thanks. Pax, Marin Marin David Condic, Senior Computer Engineer ATT: 407.796.8997 M/S 731-93 Technet: 796.8997 Pratt & Whitney, GESP Internet: CONDICMA@PWFL.COM P.O. Box 109600 Internet: MDCONDIC@AOL.COM West Palm Beach, FL 33410-9600 =============================================================================== "'Shut up,' he explained." -- Ring Lardner =============================================================================== SEARCH FOR A PORTABLE LOW LEVEL I/O PACKAGE We frequently need to read/write binary data files on various platforms and operating systems. The form of these files is such that neither sequential or direct io pkgs in Ada will do the job. On VAX VMS we have traditionally used direct_mixed_io or sequential_mixed_io to handle the varying types of data to be read or written. mixed_io is VMS specific though. With Alsys 386 DOS Ada, there's a really attractive set of procedures in package DOS. They will perform reads and writes and have formal parameters that are simply the buffer address and number of bytes to read/write. It seems like a moderately simple job to write a package that has functionality like the DOS package; maybe use direct_io to access the disk and maintain buffer pointers, current buffer num in memory, etc. I would prefer not to invent this wheel again since there just has to be at least one thoroughly checked out, portable, and efficient package out there somewhere.