1biosize(9F)              Kernel Functions for Drivers              biosize(9F)
2
3
4

NAME

6       biosize - returns size of a buffer structure
7

SYNOPSIS

9       #include <sys/ddi.h>
10       #include <sys/sunddi.h>
11
12       size_t biosize(void)
13
14

INTERFACE LEVEL

16       Solaris DDI specific (Solaris DDI).
17

DESCRIPTION

19       The  biosize() function returns the size in bytes of the buf(9S) strucā€
20       ture. The  biosize() function is used by drivers  in  combination  with
21       kmem_alloc(9F)  and  bioinit(9F) to allocate buffer structures embedded
22       in other data structures.
23

CONTEXT

25       The biosize() function can be called from any context.
26

SEE ALSO

28       biofini(9F), bioinit(9F), getrbuf(9F), kmem_alloc(9F), buf(9S)
29
30
31       Writing Device Drivers
32
33
34
35SunOS 5.11                        20 Nov 1996                      biosize(9F)
Impressum