.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "_DEVFS_SEARCH_DIR" "" "06 October 2005" "" ""
.SH NAME
_devfs_search_dir \- Search for a devfs entry in a directory.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct devfs_entry * _devfs_search_dir (struct devfs_entry * \fIdir\fB, const char * \fIname\fB, unsigned int \fInamelen\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdir\fB\fR
The directory to search.
.TP
\fB\fIname\fB\fR
The name of the entry to search for.
.TP
\fB\fInamelen\fB\fR
The number of characters in \fIname\fR\&.
.SH "DESCRIPTION"
.PP
Search for a devfs entry in a directory and returns a pointer to the entry
on success, else NULL\&. The directory must be locked already.
An implicit \fBdevfs_get\fR is performed on the returned entry.