_devfs_find_entry
Section: Kernel Hacker's Manual (9)
Updated: _devfs_find_entry
Index
Return to Main Contents
NAME
_devfs_find_entry - Find a devfs entry.
SYNOPSIS
struct devfs_entry * _devfs_find_entry
(devfs_handle_t dir,
const char *name,
unsigned int major,
unsigned int minor,
char type,
int traverse_symlink);
ARGUMENTS
- dir
-
The handle to the parent devfs directory entry. If this is NULL the
name is relative to the root of the devfs.
- name
-
The name of the entry. This may be NULL.
- major
-
The major number. This is used if lookup by name fails.
- minor
-
The minor number. This is used if lookup by name fails.
- type
-
The type of special file to search for. This may be either
DEVFS_SPECIAL_CHR or DEVFS_SPECIAL_BLK.
- traverse_symlink
-
If TRUE then symbolic links are traversed.
NOTE
If major and minor are both 0, searching by major and minor
numbers is disabled.
DESCRIPTION
Returns the devfs_entry pointer on success, else NULL. An implicit
devfs_get is performed.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- NOTE
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 03:58:50 GMT, June 12, 2005