man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

mlib_version (3MLIB)

Name

mlib_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 mediaLib 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 also

attributes(5)