Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 1997 18:20:01 -0800 (PST)
From:      Bill Fenner <fenner@parc.xerox.com>
To:        freebsd-bugs
Subject:   Re: bin/4961: Problems with fseek and fprints
Message-ID:  <199711070220.SAA01194@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/4961; it has been noted by GNATS.

From: Bill Fenner <fenner@parc.xerox.com>
To: fenner@parc.xerox.com, tege@nada.kth.se
Cc: FreeBSD-gnats-submit@freebsd.org, tege@pdc.kth.se
Subject: Re: bin/4961: Problems with fseek and fprints
Date: Thu, 6 Nov 1997 18:15:37 PST

 The ANSI C Standard, section 7.9.5.3, says:
 
 
 Opening a file with append mode ('a' as the first character in the mode
 argument) causes all subsequent writes to the file to be forced to the then
 current end-of-file, regardless of intervening calls to the fseek function.
 
 
 I don't know how to do what you want to do with ANSI C.
 
   Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711070220.SAA01194>