On mac I am using kqueue, it states that udata is unchanged. However the array returned in event_data
of kevent
call is being modified somewhat. What could cause this? I am passing in the pointer to string casted to void*, and when i read after kevent
after the first 3 characters the rest are coming out modified.
Thanks