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

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

DEVICE_SET_DESC(9)

Contents


NAME    [Toc]    [Back]

     device_set_desc, device_set_desc_copy, device_get_desc -- access the
     description of a device

SYNOPSIS    [Toc]    [Back]

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

     void
     device_set_desc(device_t dev, const char *desc);

     void
     device_set_desc_copy(device_t dev, const char *desc);

     const char *
     device_get_desc(device_t dev);

DESCRIPTION    [Toc]    [Back]

     Manipulate the verbose description of a device.  This description (if
     present) is printed as part of the message when it is attached during
     autoconfiguration.  The variation device_set_desc_copy() is used to set
     the description if the string passed is a temporary buffer which will be
     overwritten.  In this case, the system will copy the string, otherwise
     the pointer passed will be used directly.

SEE ALSO    [Toc]    [Back]

      
      
     device(9)

AUTHORS    [Toc]    [Back]

     This manual page was written by Doug Rabson.


FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
driver NetBSD description of a device driver
ppp.Devices HP-UX PPP physical device description file format
PPP.DEVICES HP-UX PPP physical device description file format
ppp.devices HP-UX PPP physical device description file format
groff_font NetBSD format of groff device and font description files
groff_font FreeBSD format of groff device and font description files
groff_font OpenBSD format of groff device and font description files
ALqueryparams IRIX (obsolete) get descriptor/description pairs for audio device state variables
device_get_devclass FreeBSD access the devclass of a device
VOP_REVOKE FreeBSD revoke access to a device and its aliases
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service