#include <sys/param.h>
#include <sys/linker.h> int
kldfind (const char *file);
DESCRIPTION
The
kldfind ();
system call
returns the fileid of the kld file referenced by
Fa file .
RETURN VALUES
The
kldfind ();
system call
returns the fileid of the kld file referenced by
Fa file .
Upon error,
kldfind ();
returns -1 and sets
errno
to indicate the error.
ERRORS
errno
is set to the following if
kldfind ();
fails:
Bq Er EFAULT
The data required for this operation could not be read from the kernel space.