freebsd man page for feature_present

Query: feature_present

OS: freebsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FEATURE_PRESENT(3)					   BSD Library Functions Manual 					FEATURE_PRESENT(3)

NAME
feature_present -- query presence of a kernel feature
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h> int feature_present(const char *feature);
DESCRIPTION
The feature_present() function provides a method for an application to determine if a specific kernel feature is present in the currently running kernel. The feature argument specifies the name of the feature to check. The feature_present() function will return 1 if the speci- fied feature is present, otherwise it will return 0. If the feature_present() function is not able to determine the presence of feature due to an internal error it will return 0.
RETURN VALUES
If feature is present then 1 is returned; otherwise 0 is returned.
SEE ALSO
sysconf(3), sysctl(3)
HISTORY
The feature_present() function first appeared in FreeBSD 8.0.
BSD
January 8, 2008 BSD
Related Man Pages
getvfsbyname(3) - mojave
tt_feature_required(3) - hpux
mac_is_present(3) - freebsd
virtio_blk(4) - freebsd
feature(3pm) - redhat
Similar Topics in the Unix Linux Community
Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen
Converting a random epoch time into a readable format
BUY HIGH QUALITY PASSPORTS,IDS,DRIVERS LICENSE,VISAS,SS CARD(paulhooverproduction@gmail.com