devfs_mk_dir
Section: Kernel Hacker's Manual (9)
Updated: devfs_mk_dir
Index
Return to Main Contents
NAME
devfs_mk_dir - Create a directory in the devfs namespace.
SYNOPSIS
devfs_handle_t devfs_mk_dir
(devfs_handle_t dir,
const char *name,
void *info);
ARGUMENTS
- dir
-
The handle to the parent devfs directory entry. If this is NULL the
new name is relative to the root of the devfs.
- name
-
The name of the entry.
- info
-
An arbitrary pointer which will be associated with the entry.
DESCRIPTION
Use of this function is optional. The devfs_register 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 devfs_unregister.
On failure NULL is returned.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 03:54:33 GMT, June 12, 2005