Re: fseek and open_memstream
- From: richard@xxxxxxxxxxxxxxx (Richard Tobin)
- Date: 31 Jan 2007 17:31:07 GMT
In article <1170263751.020700.309560@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<mark_bluemel@xxxxxxxxx> wrote:
Seeking back to the beginning is presumably regarded as preparation to
write again, so in effect it clears the buffer.
Or else fclose() causes a null to get written at the current position.
It's possible that you'll get an answer to this on some Linux newsgroup,
but the answer may be "oh, we forgot to specify exactly what happens when
you use fseek() on these extension streams".
-- Richard
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
.
- References:
- fseek and open_memstream
- From: Dmitry Belous
- Re: fseek and open_memstream
- From: mark_bluemel
- fseek and open_memstream
- Prev by Date: Re: How to reduce Zero Initialised region.
- Next by Date: Re: variable initialization / I'm a n00b
- Previous by thread: Re: fseek and open_memstream
- Next by thread: variable initialization / I'm a n00b
- Index(es):
Relevant Pages
|