bio_register man page on OpenBSD

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

BIO_REGISTER(9)		     OpenBSD Kernel Manual	       BIO_REGISTER(9)

NAME
     bio_register, bio_unregister - block I/O ioctl tunnelling interface

SYNOPSIS
     #include <dev/biovar.h>

     int
     bio_register(struct device *dev, int (*bioctl)(struct device *, u_long,
     caddr_t));

     bio_unregister(struct device *dev);

DESCRIPTION
     The block I/O ioctl tunnelling interface is used by drivers to register
     and unregister ioctl handlers to be accessed via the bio(4) device.

     bio_register() is called by the driver represented by dev to register the
     bioctl argument as the ioctl handler for itself.

     bio_unregister() is called to remove the ioctl handler previously
     registered with bio_register() for the device represented by dev.

     bio_register() and bio_unregister() can be called during autoconf(9) or
     from process context.  The bioctl callback is called from process
     context.

SEE ALSO
     bio(4), autoconf(9)

HISTORY
     The block I/O ioctl tunnelling interface first appeared in OpenBSD 3.2.

AUTHORS
     The block I/O ioctl tunnelling interface was written by Niklas Hallqvist
     <niklas@openbsd.org>.

OpenBSD 4.9			 April 3, 2008			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

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