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:

215296

userrating:


May 25th. 2007:
Words

486

Views

261808

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:

154032

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





GELF_GETPHDR

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

 

NAME

gelf_getphdr - Retrieve clas-independent program header table entries for an ELF object file

 

SYNOPSIS

#include <gelf.h>

GElf_Phdr *gelf_getphdr (Elf *elf, int ndx, GElf_Phdr *dst);

 

DESCRIPTION

Retrieve the clas-independent program header table entry at index ndx for ELF descriptor elf and store it in dst. See elf_getphdrnum(3) for information on how to acquire the number of entries in the program header table.

 

PARAMETERS

elf
ELF descriptor of kind ELF_K_ELF from which to retrieve the program header table entry.

ndx
The index of the program header table entry to be retrieved.

dst
Pointer to a caller-provided GElf_Phdr that will receive the requested program header table entry.

 

RETURN VALUE

On success, the requested entry is copied into dst and dst is returned. On failure, NULL is returned and elf_errno is set. If elf is NULL, then NULL is returned and elf_errno is not set.

 

SEE ALSO

elf32_getphdr(3), elf64_getphdr(3), elf_getphdrnum(3), gelf_newphdr(3), gelf_update_phdr(3), libelf(3), elf(5)

 

ATTRIBUTES

InterfaceAttributeValue
gelf_getphdr() Thread safetyM-Safe

 

REPORTING BUGS

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
ATTRIBUTES
REPORTING BUGS





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: 8.8 ms