kqueue, observing files, find who does the modification
kqueue, observing files, find who does the modification
- Subject: kqueue, observing files, find who does the modification
- From: devmaillists <email@hidden>
- Date: Sat, 18 Oct 2008 12:36:39 +0200
Dear List,
I have the challenge to observe files for modification. The difficulty is to filter on the modifing processes.
I need a way to get the PSN / PID of the modifing process / the process that triggered the event I get in:
int event_count = kevent(kq, events_to_monitor, NUM_EVENT_SLOTS, event_data, num_files, &timeout);
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden