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:

215287

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:

154029

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





GELF_GETSHDR

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

 

NAME

gelf_getshdr - retrieve a section header into a class-independent structure

 

SYNOPSIS

#include <gelf.h>

GElf_Shdr *gelf_getshdr(Elf_Scn *scn, GElf_Shdr *dst);

 

DESCRIPTION

gelf_getshdr() retrieves the section header associated with the section descriptor scn, translating it into the class-independent GElf_Shdr representation. The header is copied into the structure referenced by dst.

 

PARAMETERS

scn
Pointer to a section descriptor of type Elf_Scn.

dst
Pointer to a caller-provided GElf_Shdr structure to receive the section header.

 

RETURN VALUE

On success, gelf_getshdr() stores the section header in dst and returns dst. On failure, NULL is returned and elf_errno is set. If scn is NULL then NULL is returned without setting elf_errno.

 

SEE ALSO

elf32_getshdr(3), elf64_getshdr(3), gelf_update_shdr(3), libelf(3), elf(5)

 

ATTRIBUTES

InterfaceAttributeValue
gelf_getshdr() 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