Date: Sat, 18 Feb 2006 12:43:32 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Dag-Erling Smorgrav <des@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libutil Makefile kld.3 kld.c libutil.h Message-ID: <20060218114331.GA849@garage.freebsd.pl> In-Reply-To: <200602181125.k1IBPSBu021102@repoman.freebsd.org> References: <200602181125.k1IBPSBu021102@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--ibTvN161/egqYuK8 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 18, 2006 at 11:25:28AM +0000, Dag-Erling Smorgrav wrote: +> des 2006-02-18 11:25:28 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> lib/libutil Makefile libutil.h=20 +> Added files: +> lib/libutil kld.3 kld.c=20 +> Log: +> Add utility functions for checking if a given kernel module is loaded, +> and loading it. [...] +> +int kld_isloaded(const char *name); +> +int kld_load(const char *name); Sounds useful, thanks. It'll be even more useful if we can change it to: int kld_isloaded(const char *name, ...); int kld_load(const char *name, ...); What do you think? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD9whjForvXbEpPzQRAiJrAJ9N9e5p3XPTuWx4gIIMRQGu0306TACeIqPV dqntiGk6eVGoC7eVV7he8/0= =Ra93 -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060218114331.GA849>