cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> char *mlib_version(void);
The mlib_version() function returns a string about the version of the library being used.
This function returns a string in the following format:
The lib_name is mediaLib. The version consists of four digits. The first two digits of the version are the major version. The third digit is the minor version, and the fourth digit is the micro version. The build_date is in the yyyymmdd format. The target_isa is the value used for the -xarch=a flag of the compiler when the library was built. For example, the following version string corresponds to a library in mediaLib version 2.1.0, which was built on 11/01/2001 and for the sparcv8plus+vis architecture.
The function takes no argument.
The function returns a pointer to a string of characters.
See attributes(5) for descriptions of the following attributes: