|
Kernel Functions for Drivers | biosize(9F) |
| biosize - returns size of a buffer structure |
SYNOPSIS
|
#include <sys/ddi.h>
#include <sys/sunddi.h>
size_tbiosize(void); |
|
Solaris DDI specific (Solaris DDI).
|
|
The biosize() function returns the size in bytes of the buf(9S) structure. The biosize() function is used by drivers in combination with kmem_alloc(9F) and bioinit(9F) to allocate buffer structures
embedded in other data structures.
|
|
The biosize() function can be called from any context.
|
| |