.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "DEVFS_GENERATE_PATH" "" "06 October 2005" "" "" .SH NAME devfs_generate_path \- Generate a pathname for an entry, relative to the devfs root. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int devfs_generate_path (devfs_handle_t \fIde\fB, char * \fIpath\fB, int \fIbuflen\fB); \fR .SH "ARGUMENTS" .TP \fB\fIde\fB\fR The devfs entry. .TP \fB\fIpath\fB\fR The buffer to write the pathname to. The pathname and '\\0' terminator will be written at the end of the buffer. .TP \fB\fIbuflen\fB\fR The length of the buffer. .SH "DESCRIPTION" .PP Returns the offset in the buffer where the pathname starts on success, else a negative error code.