mlib_version(3MLIB) mediaLib Library Functions mlib_version(3MLIB)NAMEmlib_version - return a version string
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
char *mlib_version(void);
DESCRIPTION
The mlib_version() function returns a string about the version 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 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 medi‐
aLib version 2.1.0, which was built on 11/01/2001 and for the
sparcv8plus+vis architecture.
mediaLib:0210:20011101:v8plusa
PARAMETERS
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 attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOattributes(5)SunOS 5.11 2 Mar 2007 mlib_version(3MLIB)