Unix and Linux Discussions Tagged with operating |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
4,442 |
What is on Your Mind? |
|
|
|
6 |
8,939 |
Cybersecurity |
|
|
|
3 |
14,484 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
10,931 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,873 |
Filesystems, Disks and Memory |
|
|
|
1 |
3,286 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
4,936 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,111 |
Programming |
|
|
|
1 |
4,231 |
Shell Programming and Scripting |
|
|
|
2 |
3,596 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,364 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,727 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
11,338 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,266 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,892 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,994 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,696 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,523 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,995 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,712 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,312 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,428 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,267 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,251 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,390 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
8,455 |
Programming |
|
|
|
1 |
5,342 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,892 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
8,155 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
10,971 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
7,151 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
9,775 |
Programming |
|
|
|
3 |
5,150 |
IP Networking |
|
|
|
1 |
4,620 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,925 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
20,291 |
Where do I download LINUX & UNIX? |
|
|
|
2 |
2,984 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
32,920 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,914 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
25,433 |
UNIX for Dummies Questions & Answers |
ELF_VERSION(3) BSD Library Functions Manual ELF_VERSION(3)
NAME
elf_version -- retrieve or set ELF library operating version
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <libelf.h>
unsigned int
elf_version(unsigned int version);
DESCRIPTION
The elf_version() function is used to query the current operating version of the ELF library, and to inform the ELF library about the appli-
cation's desired operating version.
If the argument version is EV_NONE, the elf_version() function returns the currently configured operating version for the ELF library.
If the argument version is not EV_NONE, and if argument version is supported by the ELF library, function elf_version() sets the library's
operating version to version, and returns the previous value of the operating version. If argument version cannot be supported, then the
elf_version() function returns EV_NONE.
RETURN VALUES
The elf_version() function returns the currently configured ELF library version, or EV_NONE if an unsupported version is requested.
EXAMPLES
An application program would inform the ELF library about its desired operating version and check for an error using the following code snip-
pet:
if (elf_version(EV_CURRENT) == EV_NONE)
err(EX_SOFTWARE, "ELF library too old");
ERRORS
Function elf_version() may fail with the following error:
[ELF_E_VERSION] An unsupported library version number was requested.
SEE ALSO
elf(3), gelf(3)
BSD
June 1, 2006 BSD