[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Type of udata in kevent
In /usr/include/sys/event.h we define udata in the kevent structure as
intptr_t. FreeBSD defines it as a void *. This is a problem with
portability. The comment describes udata as "opaque user data
identifier" suggesting that FreeBSD is correct. Does anyone know why
we call it a pointer to an int?
D'Arcy J.M. Cain <darcy%druid.net@localhost> | Democracy is three
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
Main Index |
Thread Index |