mediaLib Library Functions mlib_version(3MLIB)
NAME
mlib_version - return a version string
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
char *mlib_version(void);
DESCRIPTION
The mlib_version() function returns a string about the ver-
sion of the library being used. This function returns a string in the following format:lib_name:version:build_date:target_isa
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 thefourth 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. mediaLib:0210:20011101:v8plusaPARAMETERS
The function takes no argument.RETURN VALUES
The function returns a pointer to a string of characters.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlib_version(3MLIB)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
attributes(5)SunOS 5.11 Last change: 2 Mar 2007 2