_devfs_find_by_dev
Section: Kernel Hacker's Manual (9)
Updated: _devfs_find_by_dev
Index
Return to Main Contents
NAME
_devfs_find_by_dev - Find a devfs entry in a directory.
SYNOPSIS
struct devfs_entry * _devfs_find_by_dev
(struct devfs_entry *dir,
unsigned int major,
unsigned int minor,
char type);
ARGUMENTS
- dir
-
The directory where to search
- major
-
The major number to search for.
- minor
-
The minor number to search for.
- type
-
The type of special file to search for. This may be either
DEVFS_SPECIAL_CHR or DEVFS_SPECIAL_BLK.
DESCRIPTION
Returns the devfs_entry pointer on success, else NULL. An implicit
devfs_get is performed.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 03:52:40 GMT, June 12, 2005