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:

209580

userrating:


May 25th. 2007:
Words

486

Views

258588

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:

149878

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





ELF_GETARHDR

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

 

NAME

elf_getarhdr - retrieve archive member header information

 

SYNOPSIS

#include <libelf.h>

Elf_Arhdr *elf_getarhdr(Elf *elf);

 

DESCRIPTION

Return a Elf_Arhdr * describing the archive header of the archive member currently referred to by an ELF descriptor.

The Elf_Arhdr structure is defined as:

typedef struct {
  char *ar_name;                /* Name of archive member.  */
  time_t ar_date;               /* File date.  */
  uid_t ar_uid;                 /* User ID.  */
  gid_t ar_gid;                 /* Group ID.  */
  mode_t ar_mode;               /* File mode.  */
  int64_t ar_size;              /* File size.  */
  char *ar_rawname;             /* Original name of archive member.  */
} Elf_Arhdr;

 

PARAMETERS

elf
An ELF descriptor referring to a member of an archive file.

 

RETURN VALUE

If elf refers to an archive member, elf_getarhdr() returns a pointer to its archive header. This pointer is valid until elf or the parent archive Elf descriptor are closed using elf_end(). If elf does not refer to an archive member or the header cannot be acquired then NULL is returned.

 

SEE ALSO

elf_begin(3), elf_getaroff(3), elf_next(3), elf_rand(3), libelf(3), elf(5)

 

ATTRIBUTES

InterfaceAttributeValue
elf_getarhdr() Thread safetyM-safe

 

REPORTING BUGS

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


 

Index

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