cvs commit: src/lib/libutil Makefile kld.3 kld.c libutil.h

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Feb 18 03:43:52 PST 2006


On Sat, Feb 18, 2006 at 11:25:28AM +0000, Dag-Erling Smorgrav wrote:
+> des         2006-02-18 11:25:28 UTC
+> 
+>   FreeBSD src repository
+> 
+>   Modified files:
+>     lib/libutil          Makefile libutil.h 
+>   Added files:
+>     lib/libutil          kld.3 kld.c 
+>   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?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060218/44b4cf51/attachment.bin


More information about the cvs-src mailing list