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:

209583

userrating:


May 25th. 2007:
Words

486

Views

258591

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:

149881

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





GELF_GETCLASS

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

 

NAME

gelf_getclass - return the ELF class (32-bit or 64-bit) for an object  

SYNOPSIS

#include <gelf.h>

int gelf_getclass(Elf *elf);

 

DESCRIPTION

gelf_getclass() returns the class of the ELF object referenced by elf. The class of a valid ELF file will be one of:
ELFCLASS32
The object is a 32-bit ELF class.
ELFCLASS64
The object is a 64-bit ELF class.

If elf does not denote a valid ELF object, or the class cannot be determined, ELFCLASSNONE is returned.

 

RETURN VALUE

Returns ELFCLASS32 or ELFCLASS64 on success. If elf is NULL or does not refer to a valid ELF binary with kind ELF_K_ELF, then ELFCLASSNONE is returned.

 

SEE ALSO

elf_kind(3), libelf(3), elf(5)

 

ATTRIBUTES

InterfaceAttributeValue
gelf_getclass() Thread safetyM-unsafe race

 

REPORTING BUGS

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
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: 14.5 ms