The Linux Kernel API | ||
---|---|---|
<<< Previous | Next >>> |
The handle to the parent devfs directory entry. If this is NULL
the
name is relative to the root of the devfs.
The name of the entry.
The major number. This is used if name is NULL
.
The minor number. This is used if name is NULL
.
The type of special file to search for. This may be either
DEVFS_SPECIAL_CHR
or DEVFS_SPECIAL_BLK
.
If TRUE
then symlink entries in the devfs namespace are
traversed. Symlinks pointing out of the devfs namespace will cause a
failure. Symlink traversal consumes stack space.
Returns a handle which may later be used in a call to
devfs_unregister, devfs_get_flags, or devfs_set_flags. A
subsequent devfs_put is required to decrement the refcount.
On failure NULL
is returned.
<<< Previous | Home | Next >>> |
devfs_mk_dir | Up | devfs_get_flags |