*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> brelse (9r)              



NAME    [Toc]    [Back]

       brelse - General: Deallocates a buf structure

SYNOPSIS    [Toc]    [Back]

       void brelse(
               register struct buf *bp );

ARGUMENTS    [Toc]    [Back]

       Specifies  a  pointer  to a buf structure.  This structure
       contains information such as the binary status flags,  the
       major/minor device numbers, and the address of the associated
 buffer. This buffer is always a special buffer header
       owned exclusively by the device for handling I/O requests.

DESCRIPTION    [Toc]    [Back]

       The brelse routine deallocates a buf  structure  that  was
       previously  allocated  by  the  getnewbuf routine. The buf
       structure contains information describing an I/O  request.
       Device  drivers  call  the  brelse  routine  after the I/O
       request has completed to free the memory used by  the  buf

RETURN VALUES    [Toc]    [Back]


SEE ALSO    [Toc]    [Back]

       Routines: getnewbuf(9r)

       Data Structures: buf(9s)

[ Back ]
 Similar pages
Name OS Title
AFfreefilesetup IRIX deallocates an AFfilesetup structure
alFreeConfig IRIX deallocates an audio ALconfig structure
alFreeEvent IRIX deallocates an audio ALevent structure
ALfreeconfig IRIX (obsolete) deallocates an audio ALconfig structure
FREE Tru64 General: Deallocates (frees) the allocated kernel virtual memory
getnewbuf Tru64 General: Allocates a buf structure
decl_simple_lock_data Tru64 General: Declares a simple lock structure
simple_lock_init Tru64 General: Initializes a simple lock structure
current_task Tru64 General: Returns a pointer to the task structure associated with the currently running kernel thread
freepup IRIX deallocates a menu
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service