IPB
>  Man Pages > Unix > FreeBSD 6.2 > Section 2 > kldload man page

kldload man page

Section 2 - FreeBSD 6.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


KLDLOAD(2)                FreeBSD System Calls Manual               KLDLOAD(2)


NAME

     kldload -- load KLD files into the kernel


LIBRARY

     Standard C Library (libc, -lc)


SYNOPSIS

     #include <sys/param.h>
     #include <sys/linker.h>

     int
     kldload(const char *file);


DESCRIPTION

     The kldload() system call loads a kld file into the kernel using the ker-
     nel linker.


RETURN VALUES

     The kldload() system call returns the fileid of the kld file which was
     loaded into the kernel.  If an error occurs, kldload() will return -1 and
     set errno to indicate the error.


ERRORS

     The named file is loaded unless:

     [EPERM]            You do not have access to read the file or link it
                        with the kernel.  You should be the root user to be
                        able to use the kld system calls.

     [EFAULT]           Bad address encountered when adding kld info into the
                        kernel space.

     [ENOMEM]           There is no memory to load the file into the kernel.

     [ENOENT]           The file was not found.

     [ENOEXEC]          The file format of file was unrecognized.

     [EEXIST]           The supplied file has already been loaded.


SEE ALSO

     kldfind(2), kldfirstmod(2), kldnext(2), kldstat(2), kldsym(2),
     kldunload(2), modfind(2), modfnext(2), modnext(2), modstat(2), kld(4),
     kldload(8)


HISTORY

     The kld interface first appeared in FreeBSD 3.0.

FreeBSD 6.2                      March 3, 1999                     FreeBSD 6.2


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 19 20:03:40 BST 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (5326 hits)
(openSUSE 10.2)

svn man page (5199 hits)
(FreeBSD 6.2)

adv_cap_autoneg man page (4869 hits)
(Solaris 10 11_06)

CPAN man page (4604 hits)
(Suse Linux 10.1)

ssh man page (4341 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (2860 hits)
(Solaris 10 11_06)

netcat man page (2703 hits)
(Suse Linux 10.1)

pprosetup man page (2480 hits)
(Solaris 10 11_06)

startproc man page (2468 hits)
(Suse Linux 10.1)

signal man page (2399 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Mountain Holidays Contact Us :: USB Temperature Monitor :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum