DEVNAME(3) BSD Programmer's Manual DEVNAME(3) NNAAMMEE ddeevvnnaammee - get device name SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttddlliibb..hh>> _c_h_a_r _* ddeevvnnaammee(_d_e_v___t _d_e_v, _m_o_d_e___t _t_y_p_e); DDEESSCCRRIIPPTTIIOONN The ddeevvnnaammee() function returns a pointer to the name of the block or character device in ``_/_d_e_v'' with a device number of _d_e_v, and a file type matching the one encoded in _t_y_p_e which must be one of S_IFBLK or S_IFCHR. If no device matches the specified values, or no information is avail- able, the string ``??'' is returned. SSEEEE AALLSSOO stat(2), dev_mkdb(8) HHIISSTTOORRYY The ddeevvnnaammee function call appeared in 4.4BSD. 4.4BSD June 4, 1993 1