:man| Alphabetical   Categories   About us 
 
DEVTONAME (9) | Kernel routines | Unix Manual Pages | :man

NAME

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

CONTENTS

Synopsis
Description
History

SYNOPSIS


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

September 25, 1999 DEVTONAME (9)
shtml">manServer 1.07 from devtoname.9 using doc macros.

 
Created by Blin Media, 2008-2013