devfs_generate_path(9)
NAME
devfs_generate_path - Generate a pathname for an entry,
relative to the devfs root.
SYNOPSIS
int devfs_generate_path (devfs_handle_t de, char *path, int buflen);
ARGUMENTS
de The devfs entry.
- path The buffer to write the pathname to. The
- pathname and ' ' terminator will be written at
the end of the buffer. - buflen The length of the buffer.
DESCRIPTION
- Returns the offset in the buffer where the pathname starts
on success, else a negative error code.