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

  man pages->FreeBSD man pages -> bus_generic_print_child (9)              
Title
Content
Arch
Section
 

Contents


BUS_GENERIC_PRINT_C... FreeBSD Kernel Developer's ManualBUS_GENERIC_PRINT_C...

NAME    [Toc]    [Back]

     bus_generic_print_child -- generic implementation of DEVICE_PRINT_CHILD
     for busses

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/bus.h>

     int
     bus_generic_print_child(device_t dev, device_t child);

DESCRIPTION    [Toc]    [Back]

     This implementation prints out the default device announcement message.
     Given device 'foo0' on bus 'bar0' where foo0 has the name "FooCard 1234"
     the following would be printed:

     foo0: <FooCard 1234> on bar0

     bus_generic_print_child itself calls two functions
     bus_print_child_header() and bus_print_child_footer() The former prints
     "foo0: <FooCard 1234>" and the latter "on bar0".  These routines should
     be used if possible in your own code if bus_generic_print_child() does
     not completely suit your needs.

SEE ALSO    [Toc]    [Back]

      
      
     device(9)

RETURN VALUES    [Toc]    [Back]

     The number of characters output.

AUTHORS    [Toc]    [Back]

     This man page was written by Doug Rabson.


FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
bus_generic_detach FreeBSD generic implementation of DEVICE_DETACH for busses
bus_generic_attach FreeBSD generic implementation of DEVICE_ATTACH for busses
bus_generic_shutdown FreeBSD generic implementation of DEVICE_SHUTDOWN for busses
bus_generic_write_ivar FreeBSD generic implementation of BUS_READ_IVAR and BUS_WRITE_IVAR for busses
bus_generic_read_ivar FreeBSD generic implementation of BUS_READ_IVAR and BUS_WRITE_IVAR for busses
perliol OpenBSD C API for Perl's implementation of IO in Layers.
glhint IRIX specify implementation-specific hints
glHint Tru64 specify implementation-specific hints
limits HP-UX implementation-specific constants
afsd.conf OpenBSD configuration file for the arla AFS implementation.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service