.TH "devfs_mk_dir" 9 "devfs_mk_dir" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME devfs_mk_dir \- Create a directory in the devfs namespace. .SH SYNOPSIS .B "devfs_handle_t" devfs_mk_dir .BI "(devfs_handle_t " dir "," .BI "const char *" name "," .BI "void *" info ");" .SH ARGUMENTS .IP "dir" 12 The handle to the parent devfs directory entry. If this is NULL the new name is relative to the root of the devfs. .IP "name" 12 The name of the entry. .IP "info" 12 An arbitrary pointer which will be associated with the entry. .SH "DESCRIPTION" Use of this function is optional. The \fBdevfs_register\fP function will automatically create intermediate directories as needed. This function is provided for efficiency reasons, as it provides a handle to a directory. Returns a handle which may later be used in a call to \fBdevfs_unregister\fP. On failure NULL is returned.