Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DEVTONAME(9)	       FreeBSD Kernel Developer's Manual	  DEVTONAME(9)

NAME
     devtoname -- converts character device into a string indicating the
     device name

SYNOPSIS
     #include <sys/param.h>
     #include <sys/conf.h>

     const char	*
     devtoname(struct cdev *dev);

DESCRIPTION
     The devtoname() function returns a	pointer	to the name of the device
     passed to it.  The	name is	whatever was set to it in make_dev().

HISTORY
     The devtoname() interface first appeared in FreeBSD 4.0

FreeBSD	Ports 11.2	       February	10, 2012	    FreeBSD Ports 11.2

NAME | SYNOPSIS | DESCRIPTION | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=devtoname&sektion=9&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help