• 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: Overly conservative result from FSEventsGetLastEventIdForDeviceBeforeTime()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overly conservative result from FSEventsGetLastEventIdForDeviceBeforeTime()


  • Subject: Re: Overly conservative result from FSEventsGetLastEventIdForDeviceBeforeTime()
  • From: Dominic Giampaolo <email@hidden>
  • Date: Mon, 31 Mar 2008 11:50:18 -0700

I wrote a stand-alone test program to demonstrate this problem. Basically, I take an NSDate and convert it to an CFAbsoluteTime using -[NSDate timeIntervalSinceReferenceDate], then pass that to FSEventsGetLastEventIdForDeviceBeforeTime(). No matter what date I pick or what volume I choose,

The documentation is wrong.  The value you should pass should
be a unix style time value - that is the number of seconds since
Jan 1, 1970.

I apologize for the confusion.


--dominic

_______________________________________________
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


References: 
 >Re: Overly conservative result from FSEventsGetLastEventIdForDeviceBeforeTime() (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: disable Trash, Spotlight and fsevents on all optical (udf) discs
  • Next by Date: Re: disable Trash, Spotlight and fsevents on all optical (udf) discs
  • Previous by thread: Re: Overly conservative result from FSEventsGetLastEventIdForDeviceBeforeTime()
  • Next by thread: disable Trash, Spotlight and fsevents on all optical (udf) discs
  • Index(es):
    • Date
    • Thread