www.LinuxHowtos.org
GELF_GETMOVE
Section: Libelf Programmer's Manual (3)Updated: 202-1-30
Index Return to Main Contents
NAME
gelf_getmove - Get move structure at the given indexSYNOPSIS
#include <gelf.h> GElf_Move *gelf_getmove (Elf_Data *data, int ndx, GElf_Move *dst);
DESCRIPTION
Copy a move structure at index ndx from a SHT_SUNW_move section associated with data into a class-independent representation stored in *dst.data should be associated with an ELF section with type SHT_SUNW_move section. dat->d_type should be ELF_T_MOVE. These types are Sun/Solaris extensions and are not typically used in GNU/Linux ELF files.
PARAMETERS
- data
-
Pointer to an
Elf_Data
of an
SHT_SUNW_move
section.
dat->d_type
should be
ELF_T_MOVE.
- ndx
-
Zero-based index of the move structure in
data.
- dst
-
Pointer to a caller-provided structure for storing the requested move entry.
dst
must not be NULL.
RETURN VALUE
On success, this function stores the requested move structure in dst and returns dst. On failure, NULL is returned and elf_errno is set. If data is NULL, then NULL is returned without setting elf_errno.SEE ALSO
gelf_update_move(3), libelf(3), elf(5)ATTRIBUTES
| Interface | Attribute | Value |
| gelf_getmove() | Thread safety | M-Safe |
REPORTING BUGS
Report bugs to <elfutil-devel@sourceware.org> or https://sourceware.org/bugzilla/.