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:

215292

userrating:


May 25th. 2007:
Words

486

Views

261808

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:

154031

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





GELF_UPDATE_AUXV

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

 

NAME

gelf_update_auxv - Update information in the auxiliary vector at the given index

 

SYNOPSIS

#include <gelf.h>

int gelf_update_auxv (Elf_Data *data, int ndx, GElf_auxv_t *src);

 

DESCRIPTION

Copy a class-independent auxiliary vector entry from src into the NT_AUXV note associated with data at index ndx. See getauxval(3) for more information regarding the auxiliary vector.

 

PARAMETERS

data
Pointer to an Elf_Data associated with an NT_AUXV ELF note. dat->d_type should be ELF_T_AUXV. NT_AUXV notes are normally found in core files. The auxiliary vector can also be read directly from /proc/PID/auxv of a live process, in which case this function does not write back to data itself.

ndx
Zero-based index of the auxiliary vector entry to be updated within data.

src
Pointer to a caller-provided auxiliary vector entry. For ELFCLASS32 binaries, a_type and a_val must fit within unsigned 3-bit values. src must not be NULL.

 

RETURN VALUE

On success, this function returns a no-zero value, updates the auxiliary vector entry at index ndx in data, and marks the section or segment associated with data with ELF_F_DIRTY. On failure, zero is returned and elf_errno is set. If data is NULL, then zero is returned without setting elf_errno.

 

SEE ALSO

gelf_getauxv(3), getauxval(3), libelf(3), elf(5)

 

ATTRIBUTES

InterfaceAttributeValue
gelf_update_auxv() Thread safetyM-Safe

 

REPORTING BUGS

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

 

HISTORY


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
ATTRIBUTES
REPORTING BUGS
HISTORY





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.2 ms