Re: Shorten FOPENed file
- From: "Kevin" <i@xxxxxxxxxxxxxxxx>
- Date: 29 Jan 2006 12:58:31 -0800
How do I write an EOF?
Kevin
ReIncarnated wrote:
> You will need an EOF (End Of File) marker - not an empty string (that
> is simply data in a file)
>
> On Sun, 29 Jan 2006 17:41:08 +0000 (UTC), pete@xxxxxxxxxxxxxxxxxx
> wrote:
>
> >
> >FSEEK() to the position at which you want to truncate and
> >FWRITE() an empty string, i.e.
> >
> > FWRITE (fh, "")
> >
> >That should do it,
> >Pete
> John.
.
- References:
- Shorten FOPENed file
- From: Kevin
- Re: Shorten FOPENed file
- From: pete
- Re: Shorten FOPENed file
- From: ReIncarnated
- Shorten FOPENed file
- Prev by Date: Re: Duplex printing
- Next by Date: Mediator & Clipper 5.2e
- Previous by thread: Re: Shorten FOPENed file
- Next by thread: Re: Shorten FOPENed file
- Index(es):
Relevant Pages
|