Content-type: text/html Man page of mlib_version

mlib_version

Section: mediaLib Library Functions (3MLIB)
Updated: 2 Mar 2007
Index Return to Main Contents
 

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 TYPEATTRIBUTE VALUE

Interface StabilityCommitted

MT-Level

 

SEE ALSO

attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:38:28 GMT, October 02, 2010