devtoname(9) freebsd man page | unix.com

Man Page: devtoname

Operating Environment: freebsd

Section: 9

DEVTONAME(9)						   BSD 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
BSD
February 10, 2012 BSD
Related Man Pages
dev_module(9) - debian
make_dev_alias(9) - debian
make_dev(9) - debian
dev_module(9) - freebsd
make_dev(9) - opensolaris
Similar Topics in the Unix Linux Community
The Whole Story on #! /usr/bin/ksh
Memory Leaks
A simple UNIXtime component in Vue.js
Reason for no directory creation date
Controlling user input