Query: biosize
OS: opensolaris
Section: 9f
Links: opensolaris man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
biosize(9F) Kernel Functions for Drivers biosize(9F)NAMEbiosize - returns size of a buffer structureSYNOPSIS#include <sys/ddi.h> #include <sys/sunddi.h> size_tbiosize(void)INTERFACE LEVELSolaris DDI specific (Solaris DDI).DESCRIPTIONThe 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.CONTEXTThe biosize() function can be called from any context.SEE ALSObiofini(9F), bioinit(9F), getrbuf(9F), kmem_alloc(9F), buf(9S) Writing Device Drivers SunOS 5.11 20 Nov 1996 biosize(9F)