devtoname.9freebsd

Langue: en

Version: 307310 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

devtoname - converts dev_t data into a string indicating the device name

SYNOPSIS

In sys/param.h In sys/conf.h Ft const char * Fn devtoname dev_t 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 . 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 Fn devtoname interface first appeared in Fx 4.0