diff options
Diffstat (limited to 'usr/src/man/man9f/bioinit.9f')
-rw-r--r-- | usr/src/man/man9f/bioinit.9f | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/usr/src/man/man9f/bioinit.9f b/usr/src/man/man9f/bioinit.9f index a302cb608d..a643404c93 100644 --- a/usr/src/man/man9f/bioinit.9f +++ b/usr/src/man/man9f/bioinit.9f @@ -7,7 +7,6 @@ .SH NAME bioinit \- initialize a buffer structure .SH SYNOPSIS -.LP .nf #include <sys/ddi.h> #include <sys/sunddi.h> @@ -16,11 +15,8 @@ bioinit \- initialize a buffer structure .fi .SH INTERFACE LEVEL -.sp -.LP -Solaris DDI specific (Solaris DDI). +illumos DDI specific (illumos DDI). .SH PARAMETERS -.sp .ne 2 .na \fB\fIbp\fR\fR @@ -30,24 +26,19 @@ Pointer to the buffer header structure. .RE .SH DESCRIPTION -.sp -.LP The \fBbioinit()\fR function initializes a \fBbuf\fR(9S) structure. A buffer structure contains state information which has to be initialized if the memory for the buffer was allocated using \fBkmem_alloc\fR(9F). This is not necessary for a buffer allocated using \fBgetrbuf\fR(9F) because \fBgetrbuf()\fR will call \fBbioinit()\fR directly. .SH CONTEXT -.sp -.LP The \fBbioinit()\fR function can be called from any context. .SH EXAMPLES -.LP \fBExample 1 \fRUsing \fBbioinit()\fR .sp .in +2 .nf - + struct buf *bp = kmem_alloc(biosize(), KM_SLEEP); bioinit(bp); /* use buffer */ @@ -55,8 +46,6 @@ bioinit(bp); .in -2 .SH SEE ALSO -.sp -.LP \fBbiofini\fR(9F), \fBbioreset\fR(9F), \fBbiosize\fR(9F), \fBgetrbuf\fR(9F), \fBkmem_alloc\fR(9F), \fBbuf\fR(9S) .sp |