1mlib_version(3MLIB) mediaLib Library Functions mlib_version(3MLIB)
2
3
4
6 mlib_version - return a version string
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 char *mlib_version(void);
13
14
16 The mlib_version() function returns a string about the version of the
17 library being used.
18
19
20 This function returns a string in the following format:
21
22
23 lib_name:version:build_date:target_isa
24
25
26 The lib_name is mediaLib. The version consists of four digits. The
27 first two digits of the version are the major version. The third digit
28 is the minor version, and the fourth digit is the micro version. The
29 build_date is in the yyyymmdd format. The target_isa is the value used
30 for the -xarch=a flag of the compiler when the library was built. For
31 example, the following version string corresponds to a library in medi‐
32 aLib version 2.1.0, which was built on 11/01/2001 and for the
33 sparcv8plus+vis architecture.
34
35
36 mediaLib:0210:20011101:v8plusa
37
39 The function takes no argument.
40
42 The function returns a pointer to a string of characters.
43
45 See attributes(5) for descriptions of the following attributes:
46
47
48
49
50 ┌─────────────────────────────┬─────────────────────────────┐
51 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │Interface Stability │Committed │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │MT-Level │MT-Safe │
56 └─────────────────────────────┴─────────────────────────────┘
57
59 attributes(5)
60
61
62
63SunOS 5.11 2 Mar 2007 mlib_version(3MLIB)