From: Simon 'c. S. <cor...@fs...> - 2004-09-08 23:15:30
|
On 09.09.2004, at 01:00, Jon Smirl wrote: > drm.h is included by user space programs (the mesa library). Is > caddr_t a both a user space and kernel type or is it kernel only? Any > types have to be both user and kernel space. ok, sorry, pilot error. caddr_t is BSDism. so the proper way would be to either use (void *) as offset, or if an integer suits better uintptr_t (which is demanded by the single unix specification 2) cheers simon -- /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News |