1.\" 2.\" Copyright (c) 1999 Chris Costello 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $Id: kldload.2,v 1.2 1999/04/09 14:31:59 bde Exp $ |
27.\" 28 29.Dd March 3, 1999 30.Dt KLDLOAD 2 31.Os FreeBSD 32.Sh NAME |
33.Nm kldload |
34.Nd load KLD files into the kernel 35.Sh SYNOPSIS 36.Fd #include <sys/param.h> 37.Fd #include <sys/linker.h> 38.Ft int 39.Fn kldload "const char *file" 40.Sh DESCRIPTION 41The function --- 21 unchanged lines hidden (view full) --- 63.It Bq Er ENOMEM 64There is no memory to load the file into the kernel. 65.It Bq Er ENOENT 66The file was not found. 67.It Bq Er ENOEXEC 68The file format of 69.Va file 70was unrecognized. |
71.Sh SEE ALSO 72.Xr kldfind 2 , 73.Xr kldfirstmod 2 , 74.Xr kldnext 2 , 75.Xr kldstat 2 , 76.Xr kldunload 2 , 77.Xr kld 4 , 78.Xr kldload 8 |
79.Sh HISTORY 80The 81.Nm kld 82interface first appeared in FreeBSD 3.0. |