[Info-vax] Which quota exceeded?

glen herrmannsfeldt gah at ugcs.caltech.edu
Fri Mar 2 01:28:09 EST 2012


Steven Schweda <sms.antinode at gmail.com> wrote:

(snip)

>              putc(' ', stdout);
>              fflush(stdout);
> and the fflush() makes a difference, record-wise.

>> There is no such concept of a *record* in the C runtime system
>> WRT writing to files. The above statements write lots of *bytes*
>> to the output stream.

>   You may be overstating that case.

>      HELP CRTL fflush
> [...]
>         If the file pointed to by file_ptr was opened in record mode
>         and if there is unwritten data in the buffer, then fflush
>         always generates a record.
> [...]

> _Someone_ seems to know what a record is.

I haven't used C much with record-oriented file systems, but
what I would expect is that it would backspace and then rewrite
the record with the added data. Somewhat less efficient, but
the resulting file would have the same data.

-- glen



More information about the Info-vax mailing list