.TH "devfs_generate_path" 9 "devfs_generate_path" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME devfs_generate_path \- Generate a pathname for an entry, relative to the devfs root. .SH SYNOPSIS .B "int" devfs_generate_path .BI "(devfs_handle_t " de "," .BI "char *" path "," .BI "int " buflen ");" .SH ARGUMENTS .IP "de" 12 The devfs entry. .IP "path" 12 The buffer to write the pathname to. The pathname and '\0' terminator will be written at the end of the buffer. .IP "buflen" 12 The length of the buffer. .SH "DESCRIPTION" Returns the offset in the buffer where the pathname starts on success, else a negative error code.