GETDISKRAWNAME(3) | Library Functions Manual | GETDISKRAWNAME(3) |
getdiskrawname
,
getdiskcookedname
—
#include <util.h>
const char *
getdiskrawname
(char
*buf, size_t
buflen, const char
*name);
const char *
getdiskcookedname
(char
*buf, size_t
buflen, const char
*name);
getdiskrawname
() function converts the
name argument that contains a path to a disk block
device node to the path that contains the corresponding character device node.
The getdiskcookedname
() function converts the
name argument that contains a path to a disk character
device node to the path that contains the corresponding block device node.
NULL
is returned and
errno contains the reason for the error.
getdiskrawname
() and
getdiskcookedname
() functions appeared in
NetBSD 7.0.
March 7, 2012 | NetBSD 9.2 |