🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #69

Re: file positioning with buffered/unbuffered I/O

#69
From: Lars Wirzenius
Date: Sat, 08 Aug 1992 11:18
15 lines
1049 bytes
phil@cs.utexas.edu (Philip Smolen) writes:
>I thought these WERE the unix file utilities.  (as opposed to the ansi
>file utilities)  According the Borland C++ 3.1 online help, only eof()
>is not ANSI compliant.  eof() can be avoided with lseek() and tell().

Most of them are (sopen and eof are not, I think).  None of them are
specified by ANSI.

>IMHO the Unix file utilities are easier to use than the corresponding
>ANSI ones.

Possibly.  Unless you want formatted output, buffering, etc.

--
Lars.Wirzenius@helsinki.fi
Technical Details
Message-ID: <1992Aug8.111834.19417@klaava.Helsinki.FI>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
References: <1992Aug02.080128.18475@technix.mn.org> <1992Aug6.154146.11988@irscscm.UUCP> <l85skiINN9vb@levelland.cs.utexas.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
Newsgroups: alt.msdos.programmer,comp.lang.c,comp.os.msdos.programmer
Subject: Re: file positioning with buffered/unbuffered I/O
Message-ID: <1992Aug8.111834.19417@klaava.Helsinki.FI>
Date: 8 Aug 92 11:18:34 GMT
References: <1992Aug02.080128.18475@technix.mn.org> <1992Aug6.154146.11988@irscscm.UUCP> <l85skiINN9vb@levelland.cs.utexas.edu>
Organization: University of Helsinki
Lines: 15