.\" 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 "DEV_GET" "" "06 October 2005" "" "" .SH NAME dev_get \- test if a device exists .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int dev_get (const char * \fIname\fB); \fR .SH "ARGUMENTS" .TP \fB\fIname\fB\fR name to test for .SH "DESCRIPTION" .PP Test if a name exists. Returns true if the name is found. In order to be sure the name is not allocated or removed during the test the caller must hold the rtnl semaphore. .PP This function primarily exists for back compatibility with older drivers.