From owner-cvs-src@FreeBSD.ORG Sat Feb 18 11:43:52 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 021FF16A423; Sat, 18 Feb 2006 11:43:52 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FB8243D46; Sat, 18 Feb 2006 11:43:49 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3B0EF50D3B; Sat, 18 Feb 2006 12:43:48 +0100 (CET) Received: from localhost (dlm157.neoplus.adsl.tpnet.pl [83.24.42.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 3B55C509F1; Sat, 18 Feb 2006 12:43:42 +0100 (CET) Date: Sat, 18 Feb 2006 12:43:32 +0100 From: Pawel Jakub Dawidek To: Dag-Erling Smorgrav Message-ID: <20060218114331.GA849@garage.freebsd.pl> References: <200602181125.k1IBPSBu021102@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <200602181125.k1IBPSBu021102@repoman.freebsd.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 11:43:52 -0000 --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--