Date: Thu, 10 Jan 2008 22:11:21 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include unistd.h src/lib/libc/gen Makefile.inc feature_present.3 feature_present.c Message-ID: <200801102211.m0AMBLVQ018032@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-01-10 22:11:21 UTC
FreeBSD src repository
Modified files:
include unistd.h
lib/libc/gen Makefile.inc
Added files:
lib/libc/gen feature_present.3 feature_present.c
Log:
Add a feature_present(3) function which checks to see if a named kernel
feature is present by checking the kern.features sysctl MIB.
MFC after: 1 week
Revision Changes Path
1.81 +1 -0 src/include/unistd.h
1.130 +3 -2 src/lib/libc/gen/Makefile.inc
1.1 +72 -0 src/lib/libc/gen/feature_present.3 (new)
1.1 +62 -0 src/lib/libc/gen/feature_present.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801102211.m0AMBLVQ018032>
