Welcome to NYCU CSIT Mirror site
Version functions: libfdisk Reference Manual
Version functions
Version functions — functions to get the library version.
|
|
Functions
fdisk_parse_version_string ()
int
fdisk_parse_version_string (const char *ver_string
);
Returns
release version code.
fdisk_get_library_version ()
int
fdisk_get_library_version (const char **ver_string
);
Returns
release version number.
fdisk_get_library_features ()
int
fdisk_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
LIBFDISK_MAJOR_VERSION
#define LIBFDISK_MAJOR_VERSION 2
LIBFDISK_MINOR_VERSION
#define LIBFDISK_MINOR_VERSION 28
LIBFDISK_PATCH_VERSION
#define LIBFDISK_PATCH_VERSION 2
LIBFDISK_VERSION
#define LIBFDISK_VERSION "2.28.2"
Library version string