devtoname
—
converts character device into a string indicating the
device name
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
().
The devtoname
() interface first appeared
in FreeBSD 4.0