*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> devtoname (9)              
Title
Content
Arch
Section
 

DEVTONAME(9)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

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

     const char *
     devtoname(dev_t dev);

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     The devtoname() interface first appeared in FreeBSD 4.0


FreeBSD 5.2.1		      September 25, 1999		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
DXmCvtOStoCS Tru64 Converts a string in the operating-systemspecific format to a compound string.
DXmCvtFCtoCS Tru64 Converts a string in the file-compatible format to a compound string.
XmStringParseText HP-UX A function that converts a character string to a compound string
XmCvtByteStreamToXmString HP-UX A compound string function that converts from a compound string in Byte Stream format to a compound string
XmCvtXmStringToByteStream HP-UX A compound string function that converts a compound string to a Byte Stream format
DXmCvtCStoFC Tru64 Converts a compound string to a file-compatible format string. Currently uses text format.
XmStringTableToXmString HP-UX A convenience function that converts a compound string table to a single compound string
uscctc IRIX Converts EBCDIC character data to ASCII character data, and vice versa
XmCvtStringToUnitType IRIX A function that converts a string to
acl_to_text Tru64 Converts an ACL to an ASCII string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service