Deleted Added
sdiff udiff text old ( 45512 ) new ( 48389 )
full compact
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.1 1999/04/04 12:29:31 dfr Exp $
27.\"
28
29.Dd March 3, 1999
30.Dt KLDLOAD 2
31.Os FreeBSD
32.Sh NAME
33.Nm kldload ,
34.Nm kldunload
35.Nd load KLD files into the kernel
36.Sh SYNOPSIS
37.Fd #include <sys/param.h>
38.Fd #include <sys/linker.h>
39.Ft int
40.Fn kldload "const char *file"
41.Sh DESCRIPTION
42The function

--- 21 unchanged lines hidden (view full) ---

64.It Bq Er ENOMEM
65There is no memory to load the file into the kernel.
66.It Bq Er ENOENT
67The file was not found.
68.It Bq Er ENOEXEC
69The file format of
70.Va file
71was unrecognized.
72.Sh HISTORY
73The
74.Nm kld
75interface first appeared in FreeBSD 3.0.