caddr_t

Berny Goodheart berny at tndsyd.oz.au
Tue Mar 12 11:01:57 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).
> 

Here is a list of defined kernel data types:

caddr_t		Byte aligned Virtual memory address.
daddr_t		Block number of a block device.
dev_t		Major-Minor device number.
label_t		Data block for 'setjmp'
off_t		Byte offset in file.
paddr_t		Physical memory address

These and other data types are defined in "types.h" and should only
be used in kernel code such as device drivers.



More information about the Comp.lang.c mailing list