The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

elf_version (3)
  • elf_version (3) ( Solaris man: Библиотечные вызовы )
  • >> elf_version (3) ( FreeBSD man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    elf_version
    
     - retrieve or set ELF library operating version
    
     
    

    LIBRARY

    Lb libelf
    
     
    

    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 application'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 snippet:
    if (elf_version(EV_CURRENT) == EV_NONE)
            err(EX_SOFTWARE, "ELF library too old");
    
     

    ERRORS

    Function elf_version ();
    may fail with the following error:

    Bq Er ELF_E_VERSION
    An unsupported library version number was requested.

     

    SEE ALSO

    elf(3), gelf(3)


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    EXAMPLES
    ERRORS
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру