diff options
author | jhb <jhb@FreeBSD.org> | 2008-01-10 22:11:21 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-01-10 22:11:21 +0000 |
commit | 34de26d1084ed5c82db694fb4ad5ca112722aa29 (patch) | |
tree | 6186b6f0c2a3d20926552fb47b23634d0326c0ef /lib/libc/gen/Makefile.inc | |
parent | f261f9865b0f750ea6f3b27feebcf093412d9dbf (diff) | |
download | FreeBSD-src-34de26d1084ed5c82db694fb4ad5ca112722aa29.zip FreeBSD-src-34de26d1084ed5c82db694fb4ad5ca112722aa29.tar.gz |
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
Diffstat (limited to 'lib/libc/gen/Makefile.inc')
-rw-r--r-- | lib/libc/gen/Makefile.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index 8ea422d..10c6ceb 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -10,7 +10,7 @@ SRCS+= __getosreldate.c __xuname.c \ clock.c closedir.c confstr.c \ crypt.c ctermid.c daemon.c devname.c dirname.c disklabel.c \ dlfcn.c dlfunc.c drand48.c erand48.c err.c errlst.c errno.c \ - exec.c fmtcheck.c fmtmsg.c fnmatch.c \ + exec.c feature_present.c fmtcheck.c fmtmsg.c fnmatch.c \ fpclassify.c frexp.c fstab.c ftok.c fts.c ftw.c \ getbootfile.c getbsize.c \ getcap.c getcwd.c getdomainname.c getgrent.c getgrouplist.c \ @@ -45,7 +45,8 @@ MAN+= alarm.3 arc4random.3 \ basename.3 check_utility_compat.3 clock.3 \ confstr.3 ctermid.3 daemon.3 devname.3 directory.3 dirname.3 \ dladdr.3 dlinfo.3 dllockinit.3 dlopen.3 \ - err.3 exec.3 fmtcheck.3 fmtmsg.3 fnmatch.3 fpclassify.3 frexp.3 \ + err.3 exec.3 \ + feature_present.3 fmtcheck.3 fmtmsg.3 fnmatch.3 fpclassify.3 frexp.3 \ ftok.3 fts.3 ftw.3 \ getbootfile.3 getbsize.3 getcap.3 getcontext.3 getcwd.3 \ getdiskbyname.3 getdomainname.3 getfsent.3 \ |