|  |  |  | libmount Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
int mnt_parse_version_string (const char *ver_string); int mnt_get_library_version (const char **ver_string); int mnt_get_library_features (const char ***features); #define LIBMOUNT_VERSION
int                 mnt_parse_version_string            (const char *ver_string);
| 
 | version string (e.g "2.18.0") | 
| Returns : | release version code. | 
int                 mnt_get_library_version             (const char **ver_string);
| 
 | return pointer to the static library version string if not NULL | 
| Returns : | release version number. | 
int                 mnt_get_library_features            (const char ***features);
| 
 | returns pointer to the static array of strings, the array is terminated by NULL. | ||
| Returns : | number of items in the features array not including the last NULL,
or less then zero in case of error
Example: 
 |