from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
|
You are here: manpages
ELF32_OFFSCN
Section: Libelf Programmer's Manual (3) Updated: 202-0-18 Index
Return to Main Contents
NAME
elf32_offscn - retrieve a section descriptor by file offset for a 3-bit ELF file
SYNOPSIS
#include <libelf.h>
Elf_Scn *elf32_offscn(Elf *elf, off_t offset);
DESCRIPTION
The
elf32_offscn
function retrieves the section descriptor for the no-empty section at the specified file offset in the ELF32 object referred to by
elf.
PARAMETERS
- elf
-
An
Elf pointer to the ELF object from which the section descriptor is to be retrieved.
- offset
-
An
off_t
value representing the file offset of the section whose descriptor is to be retrieved.
RETURN VALUE
The
elf32_offscn
function returns a pointer to the
Elf_Scn
of the no-empty section with a sh_offset matching
offset.
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).
| Interface | Attribute | Value
|
|
elf32_offscn()
| Thread safety | M-Safe
|
SEE ALSO
elf64_offscn(3),
libelf(3),
elf(5),
REPORTING BUGS
Report bugs to < elfutil-devel@sourceware.org> or https://sourceware.org/bugzilla/.
HISTORY
elf32_offscn
first appeared in elfutils 0.112. This elfutils libelf function may not be found in other libelf implementations.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS
-
- RETURN VALUE
-
- ATTRIBUTES
-
- SEE ALSO
-
- REPORTING BUGS
-
- HISTORY
-
|