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,da8a419b0e3fda81 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-09-16 21:35:24 PST Newsgroups: comp.lang.ada Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!cs.utexas.edu!uunet!telesoft!kst From: kst@alsys.com (Keith Thompson @pulsar) Subject: Re: Portable way to read/write from a binary file? Message-ID: Sender: news@alsys.com (USENET News Admin @flash) Organization: Alsys Group, San Diego, CA, USA References: <355kao$38d@goanna.cs.rmit.oz.au> Date: Thu, 15 Sep 1994 22:59:43 GMT Date: 1994-09-15T22:59:43+00:00 List-Id: In <355kao$38d@goanna.cs.rmit.oz.au> Dale Stanbrough writes: > Is there a _portable_ way to read/write from a binary file using only > Ada83 or Ada94 I/O routines? > > I would like to be able to read the individual bytes from a file, as can > be achieved using Unix read/write. For Ada 83, POSIX_IO is reasonably portable (among implementations that support it). For Ada 94 (assuming X=4 8-)}), I think Stream_IO does what you want. -- Keith Thompson (The_Other_Keith) kst@alsys.com TeleSoft^H^H^H^H^H^H^H^H Alsys, Inc. 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2718 /user/kst/.signature: I/O error (core dumped)