Function

FSEventsPurgeEventsForDeviceUpToEventId(_:_:)

Declaration

func FSEventsPurgeEventsForDeviceUpToEventId(_ dev: dev_t, _ eventId: FSEventStreamEventId) -> Bool

Parameters

dev

The dev_t of the device.

eventId

The event ID.

Return Value

True if it succeeds, otherwise False if it fails.

Discussion

Purges old events from the persistent per-volume database maintained by the service. Can only be called by the root user.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software