Can somebody please tell me:
caddr_t
?void*
?void*
and when to use caddr_t
?Thanks in advance.
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 *
.