devtoname(9) converts character device into a string indicating the device name

SYNOPSIS

In sys/param.h In sys/conf.h Ft const char * Fn devtoname struct cdev *dev

DESCRIPTION

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

HISTORY

The Fn devtoname interface first appeared in Fx 4.0