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,9c86eb13dd395066 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: CRC in Ada? Date: 1997/03/09 Message-ID: #1/1 X-Deja-AN: 224160670 References: <1997Mar2.220652@nova.wright.edu> <1997Mar6.091150.1@eisner> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-03-09T00:00:00+00:00 List-Id: OUe-Hjalmar says > I think you are missing something here. Altough in Unix it IS possible > to do reads of arbitrary length, the standard IO library of C > definitely does IO in blocks. The getc/putc functions are > usually implemented as macros, which just manipulate the buffer. Of You cannot make such statements (the standard IO lbrary of C definitely does IO in blocks). The standard speaks only of interfaces, not of implementation, there is nothing in the standardized interface that requires IO to be done in blocks. This may be an implementation characterstic of some or even most or even all current implementations, but it is NOT a fundamental property of the standard IO library.