From: kst@alsys.com (Keith Thompson @pulsar)
Subject: Re: Portable way to read/write from a binary file?
Date: Thu, 15 Sep 1994 22:59:43 GMT
Date: 1994-09-15T22:59:43+00:00 [thread overview]
Message-ID: <Cw717J.66q@alsys.com> (raw)
In-Reply-To: 355kao$38d@goanna.cs.rmit.oz.au
In <355kao$38d@goanna.cs.rmit.oz.au> Dale Stanbrough <dale@goanna.cs.rmit.edu.au> 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)
prev parent reply other threads:[~1994-09-15 22:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-14 1:40 Portable way to read/write from a binary file? Dale Stanbrough
1994-09-14 3:51 ` Robert Dewar
1994-09-16 1:47 ` Lee_Robert_Willis
1994-09-14 22:39 ` Dale Stanbrough
1994-09-15 17:08 ` Robert Dewar
1994-09-16 5:00 ` R_Tim_Coslet
1994-09-19 2:59 ` Dale Stanbrough
1994-09-19 17:46 ` Bob Duff
1994-09-20 22:51 ` Dale Stanbrough
1994-09-15 22:59 ` Keith Thompson @pulsar [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox