cc [ flag ... ] file ... –l volmgt [ library ... ] #include <volmgt.h> int volmgt_feature_enabled(char *feat_str);
This function is obsolete. The management of removable media by the Volume Management feature, including vold, has been replaced by software that supports the Hardware Abstraction Layer (HAL). Programmatic support for HAL is through the HAL APIs, which are documented on the HAL web site. See hal(5). The return value of this function is undefined.
The volmgt_feature_enabled() routine checks whether specific volume management features are enabled. volmgt_feature_enabled() checks for the volume management features passed in to it by the feat_str parameter.
The return from this function is undefined.
See attributes(5) for descriptions of the following attributes: