• 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
FSCopyObject... replacement?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FSCopyObject... replacement?


  • Subject: FSCopyObject... replacement?
  • From: Paul Kim <email@hidden>
  • Date: Thu, 01 May 2014 17:33:47 -0400

According to the docs for FSCopyObjectSync/Async:
=================
  (Deprecated in OS X v10.8. At the Foundation layer, use copyItemAtURL:toURL:error: instead. At the POSIX/BSD layer, use copyfile(3) OS X Developer Tools Manual Page instead.)
=================

Since I need the callbacks, I am using copyfile(). It seems to work fine though glancing at the header, I see this:

 * This implementation is incomplete and the interface may change in a
 * future release.

I’m taking the header comments with a grain of salt since it’s inaccurate about other things (like the state argument having to be NULL). Maybe the header is grossly out of date? I’m wondering if I can count on copyfile() in the future or if this is going to become deprecated or significantly changed.

paul


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: FSCopyObject... replacement?
      • From: Jim Luther <email@hidden>
  • Next by Date: Re: FSCopyObject... replacement?
  • Next by thread: Re: FSCopyObject... replacement?
  • Index(es):
    • Date
    • Thread