comp.lang.ada
 help / color / mirror / Atom feed
From: R_Tim_Coslet@cup.portal.com
Subject: Re: Portable way to read/write from a binary file?
Date: Thu, 15 Sep 94 22:00:58 PDT
Date: 1994-09-15T22:00:58-07:00	[thread overview]
Message-ID: <122506@cup.portal.com> (raw)
In-Reply-To: 357u2t$ho8@goanna.cs.rmit.oz.au

>In article <355rv4$eg8@gnat.cs.nyu.edu> Robert Dewar, dewar@cs.nyu.edu writes:
>>sequential_io instantiated for a byte or character type may work, but is
>>not guaranteed, and may well be gruseomely slow.
>>
>>best get is just to use pragma interface and use the appropriate unix
>>routines directly, whjy not>
>
>Because I wanted a portable solution that wasn't tied to a particular
>operating system. It may be that there are comparable routines on _all_
>operating systems, but it still (potentially) leaves you with code to change
>when porting.
>
>Dale
>-------------------------------------------------------------
>Dale Stanbrough, RMIT, Melbourne, Australia, dale@rmit.edu.au
>GNU Ada 94 (GNAT) => the best $0 you'll ever spend.
>Available for DOS, Linux, OS/2, Sun Sparc, Sun Solaris, ...
>Coming to a GNU supported platform near you soon...

Or maybe the code will eventually be used in an embedded environment that has
NO operating system of any kind, just a small Ada Runtime customized
to the hardware environment.

                                        R. Tim Coslet

Usenet: R_Tim_Coslet@cup.portal.com
        technology, n.  domesticated natural phenomena



  parent reply	other threads:[~1994-09-16  5:00 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 [this message]
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
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox