RE: Proper way to use an updating FILE on a tty?

2017-10-12 Thread Schwarz, Konrad
> -Original Message- > From: Geoff Clare [mailto:g...@opengroup.org] > Sent: Wednesday, October 11, 2017 5:51 PM > To: austin-group-l@opengroup.org > Subject: Re: Proper way to use an updating FILE on a tty? > > Nick Stoughton wrote, on 10 Oct 2017: > > >

Re: Proper way to use an updating FILE on a tty?

2017-10-11 Thread Geoff Clare
Nick Stoughton wrote, on 10 Oct 2017: > > On Tue, Oct 10, 2017 at 7:46 AM, Schwarz, Konrad wrote: > > > POSIX FILE streams opened for update need either a fflush() or a file > > positioning function > > when switching from writing to reading, and a file positioning function > > when > > switchin

Re: Proper way to use an updating FILE on a tty?

2017-10-10 Thread Nick Stoughton
XBD 3.172 defines a File Offset: 3.172 File Offset The byte position in the file where the next I/O operation begins. Each open file description associated with a regular file, block special file, or directory has a file offset. A character special file that does not refer to a terminal device may