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:

209583

userrating:


May 25th. 2007:
Words

486

Views

258591

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:

149881

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





ELF_GETSCN

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

 

NAME

elf_getscn - retrieve a descriptor for an ELF section at a specified index.

 

SYNOPSIS

#include <libelf.h>

Elf_Scn *elf_getscn(Elf *elf, size_t index);

 

DESCRIPTION

The elf_getscn function retrieves a section descriptor for the section at the specified index in the ELF object referred to by elf.

 

PARAMETERS

elf
An Elf pointer to the ELF object from which the section descriptor is to be retrieved.

index
A size_t value representing the index of the section whose descriptor is to be retrieved. Section indices start at 0. The section at index 0 is always SHT_NULL and does not contain any data.

 

RETURN VALUE

The elf_getscn function returns a pointer to the Elf_Scn for the section at the specified index. If an error occurs, it returns NULL and sets an appropriate libelf error code.

 

ATTRIBUTES

For an explanation of the terms used in this section, see attributes(7).
InterfaceAttributeValue
elf_getscn() Thread safetyM-Safe

 

SEE ALSO

elf_errno(3), libelf(3), elf(5)

 

REPORTING BUGS

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUE
ATTRIBUTES
SEE ALSO
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: 11.9 ms