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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d42619e6a8a00add X-Google-Attributes: gid103376,public From: tmoran@bix.com Subject: Re: Reading "leftover" chunks from files Date: 1999/08/20 Message-ID: #1/1 X-Deja-AN: 515216644 References: <7pjlfa$o45$1@nnrp1.deja.com> X-Complaints-To: abuse@pacbell.net X-Trace: typhoon-sf.snfc21.pbi.net 935175256 207.214.211.145 (Fri, 20 Aug 1999 11:54:16 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Fri, 20 Aug 1999 11:54:16 PDT Newsgroups: comp.lang.ada Date: 1999-08-20T00:00:00+00:00 List-Id: >Direct_IO and Sequential_IO are NEVER appropriate for this kind >of job, since they output data in implementation dependent form. >Always use stream_io for a task like this, and then you have >complete control over what you read, and from where you read >it in the file. Don't forget that for streams "complete control" also means "responsibility", since the default 'Read and 'Write are implementation dependent and may or may not do what you want or expect.