tail head cat sleep
QR code linking to this page

Manual Pages  — DEVTONAME


devtoname – converts character device into a string indicating the device name



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

const char *
devtoname(struct cdev *dev);


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

DEVTONAME (9) February 10, 2012

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps.
— The Unix Haters' handbook