Can somebody please tell me:
caddr_t
void*
caddr_t is a legacy BSD type associated with some low level calls like mmap, and it should never be used in modern code. It was rejected by the POSIX standard. The standardized mmap uses void *.
mmap
void *