summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-01-10 22:11:21 +0000
committerjhb <jhb@FreeBSD.org>2008-01-10 22:11:21 +0000
commit34de26d1084ed5c82db694fb4ad5ca112722aa29 (patch)
tree6186b6f0c2a3d20926552fb47b23634d0326c0ef /include/unistd.h
parentf261f9865b0f750ea6f3b27feebcf093412d9dbf (diff)
downloadFreeBSD-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 'include/unistd.h')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 48c925c..51aa088 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -480,6 +480,7 @@ int des_setkey(const char *key);
void endusershell(void);
int exect(const char *, char * const *, char * const *);
int execvP(const char *, const char *, char * const *);
+int feature_present(const char *);
char *fflagstostr(u_long);
int getdomainname(char *, int);
int getgrouplist(const char *, gid_t, gid_t *, int *);
OpenPOWER on IntegriCloud