Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GELF_GETCLASS(3)	 BSD Library Functions Manual	      GELF_GETCLASS(3)

NAME
     gelf_getclass -- retrieve the class of an ELF descriptor

LIBRARY
     ELF Access	Library	(libelf, -lelf)

SYNOPSIS
     #include <gelf.h>

     int
     gelf_getclass(Elf *elf);

DESCRIPTION
     Function gelf_getclass() returns the ELF class of the descriptor supplied
     in	argument elf.

RETURN VALUES
     Function gelf_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 ALSO
     elf(3), elf_kind(3), gelf(3)

BSD				 July 3, 2006				   BSD

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gelf_getclass&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help