Welcome to NYCU CSIT Mirror site
Version functions: libmount Reference Manual
Version functions
Version functions — functions to get the library version.
|
|
Functions
mnt_parse_version_string ()
int
mnt_parse_version_string (const char *ver_string
);
Returns
release version code.
mnt_get_library_version ()
int
mnt_get_library_version (const char **ver_string
);
Returns
release version number.
mnt_get_library_features ()
int
mnt_get_library_features (const char ***features
);
Returns
number of items in the features array not including the last NULL,
or less than zero in case of error
Example:
Types and Values
LIBMOUNT_MAJOR_VERSION
#define LIBMOUNT_MAJOR_VERSION 2
LIBMOUNT_MINOR_VERSION
#define LIBMOUNT_MINOR_VERSION 37
LIBMOUNT_PATCH_VERSION
#define LIBMOUNT_PATCH_VERSION 4
LIBMOUNT_VERSION
#define LIBMOUNT_VERSION "2.37.4"