elf_end man page on IRIX

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



ELF_END(3E)							   ELF_END(3E)

NAME
     elf_end - finish using an object file

SYNOPSIS
     cc [flag ...] file ...  -lelf [library ...]

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

DESCRIPTION
     A program uses elf_end to terminate an ELF descriptor, elf, and to
     deallocate data associated with the descriptor.  Until the program
     terminates a descriptor, the data remain allocated.  elf should be a
     value previously returned by elf_begin; a null pointer is allowed as an
     argument, to simplify error handling.  If the program wishes to write
     data associated with the ELF descriptor to the file, it must use
     elf_update before calling elf_end.

     As elf_begin(3E) explains, a descriptor can have more than one
     activation.  Calling elf_end removes one activation and returns the
     remaining activation count.  The library does not terminate the
     descriptor until the activation count reaches zero.  Consequently, a zero
     return value indicates the ELF descriptor is no longer valid.

SEE ALSO
     elf(3E), elf_begin(3E), elf_update(3E).

									Page 1

[top]

List of man pages available for IRIX

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