caddr_t

Boyd Roberts boyd at necisa.ho.necisa.oz.au
Mon Mar 11 11:50:34 AEST 1991


In article <1991Mar8.192533.717 at citib.com> scairns at citib.com (Scott Cairns) writes:
>Can anyone give me a consise description of exactly
>what "caddr_t" is?  It's not in K & R (version 1).

It's usually typedef-ed to be `char *'.

It's used in the kernel, so if you're not coding for the kernel, don't
use it.  The `wchan' argument to sleep()% is a `caddr_t'.


Boyd Roberts			boyd at necisa.ho.necisa.oz.au

``When the going gets wierd, the weird turn pro...''

% Kernel sleep routine, not sleep(3).



More information about the Comp.lang.c mailing list