gelf_getmove(3)

gelf_getmove3

Get move structure at the given index

Usage

#include <gelf.h>
GElf_Move *gelf_getmove (Elf_Data *data, int ndx, GElf_Move *dst);

Overview

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. data->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. data->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.

Attributes

InterfaceAttributeValue
gelf_getmove()Thread safetyMT-Safe

Reporting bugs

Report bugs to <[email protected]> or https://sourceware.org/bugzilla/.

From libelf 0.197-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.