Query: elf_end
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ELF_END(3) BSD Library Functions Manual ELF_END(3)NAMEelf_end -- release an ELF descriptorLIBRARYELF Access Library (libelf, -lelf)SYNOPSIS#include <libelf.h> int elf_end(Elf *elf);DESCRIPTIONFunction elf_end() is used to release the resources associated with an ELF descriptor pointed to by argument elf. This descriptor must have been allocated by a previous call to elf_begin(3) or elf_memory(3). For programming convenience, a NULL value is permitted for argument elf. A call to elf_end() decrements the activation count for descriptor elf by one. The resources associated with the descriptor are only released with its activation count goes to zero. Once function elf_end() returns zero, the ELF descriptor elf will no longer be valid and should not be used further.RETURN VALUESFunction elf_end() returns the current value of the ELF descriptor elf's activation count, or zero if argument elf was NULL.SEE ALSOelf(3), elf_begin(3), elf_memory(3), gelf(3)BSDJune 29, 2006 BSD
Related Man Pages |
---|
elf64_checksum(3) - freebsd |
elf64_checksum(3) - netbsd |
gelf_checksum(3) - netbsd |
elf_next(3) - freebsd |
gelf_checksum(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
sometimes "ps -elf" command doesn't work |
disassemble |
could not open source file "sys/elf_386.h" |
A help to create an ELF file |
How Readelf command works? |