• 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: Issue with read/write to NSFileHandle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue with read/write to NSFileHandle


  • Subject: Re: Issue with read/write to NSFileHandle
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 30 Jun 2016 14:27:15 +1000

On 30 Jun 2016, at 1:40 PM, Graham Cox <email@hidden> wrote:
>
> Reading the documentation, NSFileHandle seems to have only one file offset, which is common to both read and write, which is a bit puzzling, because surely you’d want to write at the end of the file, but read from wherever you’d read from last time.

You're not trying to use the same handle for both, are you?

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Issue with read/write to NSFileHandle
      • From: Graham Cox <email@hidden>
References: 
 >Issue with read/write to NSFileHandle (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Using va_list to build a formatted string
  • Next by Date: Issue with read/write to NSFileHandle
  • Previous by thread: Issue with read/write to NSFileHandle
  • Next by thread: Re: Issue with read/write to NSFileHandle
  • Index(es):
    • Date
    • Thread