On Fri, Aug 17, 2018 at 03:16:20PM +0200, Thomas Klausner wrote:
> Does anyone know why NetBSD has udata defined as intptr_t in kqueue(3)?

It's been discussed over the years. It is supposed to be opaque and
pointers don't really qualify for that. I.e. in theory, there are
integers that are not valid pointers. From the last time this was
discussed, it looks like Darwin moved to uint64_t for udata in the 64bit
version.

Joerg

Reply via email to