DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

freerbuf(D3)


freerbuf -- free a raw buffer header

Synopsis

   #include <sys/buf.h>
   #include <sys/ddi.h>
   

void freerbuf(buf_t *bp);

Description

freerbuf( ) frees a raw buffer header that was previously allocated with the getrbuf(D3) funtion.

Arguments


bp
Pointer to a previously allocated buffer header structure.

Return values

None

Usage

The freerbuf( ) function can be used only for a buffer header that is obtained with the getrbuf( ) function.

freerbuf is typically called from a driver's biodone(D3) function as specified in the b_iodone member of the buf(D4) structure.

Context and synchronization

Non-blockable, interrupt, user, or blockable context.

Hardware applicability

All

Version applicability

ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

References

biodone(D3), bioreset(D3), biowait(D3), buf(D4), getrbuf(D3)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005