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:

209581

userrating:


May 25th. 2007:
Words

486

Views

258588

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:

149878

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





GELF_GETEHDR

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

 

NAME

gelf_getehdr - retrieve the header of an ELF binary as a class-independent structure

 

SYNOPSIS

#include <gelf.h>

GElf_Ehdr *gelf_getehdr(Elf *elf, GElf_Ehdr *dest );

 

DESCRIPTION

gelf_getehdr() retrieve the ELF header of the binary referenced by elf as a class-independent GElf_Ehdr representation.

 

PARAMETERS

elf
Pointer to an ELF descriptor.
dest
Pointer to a caller-provided GElf_Ehdr structure that will receive the translated file header. Must not be NULL. On success, the function stores the header in *dest.

 

RETURN VALUE

On success, returns dest. On failure, returns NULL and sets elf_errno. If elf is NULL, NULL is returned and elf_errno is not set.

 

SEE ALSO

gelf_newehdr(3), gelf_update_ehdr(3), libelf(3), elf(5)

 

ATTRIBUTES

InterfaceAttributeValue
gelf_getehdr() 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: 13.7 ms