BUF_UNLOCK man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

BUF_UNLOCK(9r)							BUF_UNLOCK(9r)

NAME
       BUF_UNLOCK - General: Unlocks the specified I/O buffer

SYNOPSIS
       void BUF_UNLOCK(
	       struct buf *bp );

ARGUMENTS
       Specifies a pointer to a buf structure.

DESCRIPTION
       The BUF_UNLOCK routine unlocks the specified I/O buffer that was locked
       in a previous call to BUF_LOCK.	The routine masks all  disk  and  tape
       controller  interrupts  (by  calling the splbio routine). It resets the
       mutual exclusion buffer lock  member,  b_lock,  of  the	specified  buf
       structure pointer.

       The  BUF_UNLOCK routine then resets the b_flags member of the specified
       buf structure pointer to indicate that this buffer is not  being	 used.
       Finally,	 BUF_UNLOCK resets the CPU priority level (by calling the splx
       routine).

NOTES
       You must have locked the specified I/O buffer by calling BUF_LOCK prior
       to calling the BUF_UNLOCK routine.

RETURN VALUES
       None

SEE ALSO
       Routines: BUF_LOCK(9r)

								BUF_UNLOCK(9r)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net