summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-01-10 22:11:21 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-01-10 22:11:21 +0000
commitce309a2f262b572d81e91b391d7c8e1a4567a96e (patch)
tree6186b6f0c2a3d20926552fb47b23634d0326c0ef /include/unistd.h
parentd92909c1d40c7af132a1a01b2271b3d036addcec (diff)
downloadsrc-test-ce309a2f262b572d81e91b391d7c8e1a4567a96e.tar.gz
src-test-ce309a2f262b572d81e91b391d7c8e1a4567a96e.zip
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
Notes
Notes: svn path=/head/; revision=175220
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 48c925c340a0d..51aa088486f2a 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 *);