GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ELF_END(3) FreeBSD Library Functions Manual ELF_END(3)

elf_end
release an ELF descriptor

ELF Access Library (libelf, -lelf)

#include <libelf.h>
int
elf_end(Elf *elf);

Function 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.

Function elf_end() returns the current value of the ELF descriptor elf's activation count, or zero if argument elf was NULL.

elf(3), elf_begin(3), elf_memory(3), gelf(3)
June 29, 2006 FreeBSD 12.0-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.