|
NAMEgelf_getclass —
retrieve the class of an ELF descriptor
LIBRARYELF Access Library (libelf, -lelf)SYNOPSIS#include <gelf.h>
int
DESCRIPTIONFunctiongelf_getclass () returns the ELF class of the
descriptor supplied in argument elf.
RETURN VALUESFunctiongelf_getclass () will return one of
ELFCLASS32 or ELFCLASS64 if
the argument elf is a descriptor for an ELF file. The
value ELFCLASSNONE is returned if argument
elf was null, or if it was not a descriptor for an ELF
file.
SEE ALSOelf(3), elf_kind(3), gelf(3)
Visit the GSP FreeBSD Man Page Interface. |