elf_end man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

ELF_END(3)		 BSD Library Functions Manual		    ELF_END(3)

NAME
     elf_end — release an ELF descriptor

LIBRARY
     library “libelf”

SYNOPSIS
     #include <libelf.h>

     int
     elf_end(Elf *elf);

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

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

SEE ALSO
     elf(3), elf_begin(3), elf_memory(3), gelf(3)

BSD				 June 29, 2006				   BSD
[top]

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net