The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    elf_strptr
    
     - retrieve a string pointer in a string table
    
     
    

    LIBRARY

    Lb libelf
    
     
    

    SYNOPSIS

       #include <libelf.h>
    char * elf_strptr (Elf *elf size_t scndx size_t stroffset);
     

    DESCRIPTION

    Function elf_strptr ();
    allows an application to convert a string table offset to a string pointer, correctly translating the offset in the presence of multiple Vt Elf_Data descriptors covering the contents of the section.

    Argument elf is a descriptor for an ELF object. Argument scndx is the section index for an ELF string table. Argument stroffset is the index of the desired string in the string table.  

    RETURN VALUES

    Function elf_strptr ();
    returns a valid pointer on success or NULL in case an error was encountered.  

    ERRORS

    Bq Er ELF_E_ARGUMENT
    Argument elf was NULL
    Bq Er ELF_E_ARGUMENT
    Argument elf was not a descriptor for an ELF object.
    Bq Er ELF_E_ARGUMENT
    Argument scndx was not the section index for a string table.
    Bq Er ELF_E_ARGUMENT
    Argument stroffset exceeeded the size of the string table.
    Bq Er ELF_E_ARGUMENT
    Argument stroffset index an unallocated region of the string table.
    Bq Er ELF_E_DATA
    Offset stroffset indexed a region that was not covered by any Elf_Data descriptor.
    Bq Er ELF_E_DATA
    An erroneous Vt Elf_Data descriptor was part of the section specified by argument scndx
    Bq Er ELF_E_HEADER
    ELF descriptor elf contained an invalid section header.
    Bq Er ELF_E_RESOURCE
    An out of memory condition was detected.
    Bq Er ELF_E_SECTION
    Section scndx contained a malformed section header.
    Bq Er ELF_E_SECTION
    The ELF descriptor in argument elf did not adhere to the conventions used for extended numbering.

     

    SEE ALSO

    elf(3), elf32_getshdr3, elf64_getshdr3, elf_getdata3, elf_rawdata3, gelf(3), gelf_getshdr3


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    SEE ALSO


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




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

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