site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Sep 19, 2007, at 10:32 PM, Shaun Wexler wrote: On Sep 19, 2007, at 9:01 AM, Fred Leboucher wrote: Except that my code has to be compatible with 10.3.9 and higher :/ On Sep 19, 2007, at 5:56 PM, Dave Zarzycki wrote: Fred _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... It sounds like you want the new FSEvents API in Leopard. The new FSEvents API is a sustainable interface, forward-compatible from Leopard onwards, however in this case the underlying kernel mechanisms do exist as SPI in earlier OS versions. Simply create a wrapper which calls the legacy SPI's conditionally via runtime introspection. -- Shaun Wexler MacFOH http://www.macfoh.com "Problems cannot be solved by the same level of thinking that created them." - Albert Einstein It exists in Tiger (xnu-792 / http://fxr.watson.org/fxr/source/bsd/ sys/fsevents.h?v=xnu-792), but it looks like it doesn't exist in prior versions. If I'm not mistaken, 10.3.9 has a xnu-517, and fsevents.h is not present in this version (http://fxr.watson.org/fxr/ source/bsd/sys/fsevents.h?v=xnu-517). Are you sure that it's not Tiger-only ? This email sent to site_archiver@lists.apple.com