devtoname(9) debian man page | unix.com

Man Page: devtoname

Operating Environment: debian

Section: 9

DEVTONAME(9)						   BSD Kernel Developer's Manual					      DEVTONAME(9)

NAME
devtoname -- converts dev_t data into a string indicating the device name
SYNOPSIS
#include <sys/param.h> #include <sys/conf.h> const char * devtoname(dev_t 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(). If no name is associated with dev, a pointer to a string consisting of a ``#'' followed by ``major/minor'' as it applies to dev is returned.
HISTORY
The devtoname() interface first appeared in FreeBSD 4.0
BSD
September 25, 1999 BSD
Related Man Pages
fdevname(3) - freebsd
major(3) - freebsd
fdevname_r(3) - freebsd
minor(3) - freebsd
getmajor(9f) - bsd
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
How can I do this in VI editor?
Is UNIX an open source OS ?
Detecting unused variables...