• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cross version compatible way to set the file pointer to eof
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross version compatible way to set the file pointer to eof


  • Subject: Re: Cross version compatible way to set the file pointer to eof
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 07 Dec 2001 11:26:39 +1100

On 7/12/01 10:53 AM +1000, Timothy Bates, email@hidden, wrote:

> My solution currently is to explicitly direct all writes to the eof, rather
> than presetting the pointer to eof, i.e.,
>
> write "string" to f starting at eof
>
> but it would be nice to be able to just say
> write string to f
>
> As there are sometimes several dozen calls to write within 1 call to the
> handler.

Performance-wise, they seem exactly the same to me. One just takes longer to
type...

--
Shane Stanley, email@hidden


  • Follow-Ups:
    • Re: Cross version compatible way to set the file pointer to eof
      • From: Timothy Bates <email@hidden>
References: 
 >Cross version compatible way to set the file pointer to eof (From: Timothy Bates <email@hidden>)

  • Prev by Date: Scripting su or sudo on OS X
  • Next by Date: Re: Cross version compatible way to set the file pointer to eof
  • Previous by thread: Cross version compatible way to set the file pointer to eof
  • Next by thread: Re: Cross version compatible way to set the file pointer to eof
  • Index(es):
    • Date
    • Thread