from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

215281

userrating:


May 25th. 2007:
Words

486

Views

261807

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

154028

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





GELF_GETLIB

Section: Libelf Programmer's Manual (3)
Updated: 202-1-31
Index Return to Main Contents

 

NAME

gelf_getlib - Get prelink library from table at the given index

 

SYNOPSIS

#include <gelf.h>

GElf_Lib *gelf_getlib (Elf_Data *data, int ndx, GElf_Lib *dst);

 

DESCRIPTION

Retrieve a prelink library table entry from data at index ndx and store it in the class-independent representation pointed to by dst.

data must be an Elf_Data* associated with a section of type SHT_GNU_LIBLIST. dat->d_type should be ELF_T_LIB. SHT_GNU_LIBLIST sections are used by the prelink utility. See https://sourceware.org/gn-gabi/prelink.txt for more information.

 

PARAMETERS

data
Pointer to an Elf_Data of a section with type SHT_GNU_LIBLIST. dat->d_type should be ELF_T_LIB.

ndx
Zero-based index of the requested prelink library table entry within data.

dst
Pointer to a caller-provided GElf_Lib structure for storing the requested prelink library table entry. Must not be NULL.

 

RETURN VALUE

On success, this function updates dst with the requested prelink library table entry and returns dst. On failure, it returns NULL and sets elf_errno. If data is NULL, then NULL is returned without setting elf_errno.

 

SEE ALSO

gelf_update_lib(3), libelf(3), elf(5)

 

ATTRIBUTES

InterfaceAttributeValue
gelf_getlib() Thread safetyM-Safe

 

REPORTING BUGS

Report bugs to <elfutil-devel@sourceware.org> or https://sourceware.org/bugzilla/.

 

HISTORY

gelf_getlib first appeared in elfutils 0.95. This function is an elfutils libelf extension and may not be available in other libelf implementations.


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
ATTRIBUTES
REPORTING BUGS
HISTORY





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 16.0 ms