*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> libelfutil/xlate_finish (3)              



NAME    [Toc]    [Back]

     xlate_finish - close translation section

SYNOPSIS    [Toc]    [Back]

     #include <elf.h>
     #include <libelf.h>
     #include <dwarf.h>
     #include <libdwarf.h>
     #include <cmplrs/xlate.h>
     #include <libXlate.h>

     int xlate_finish(xlate_table_con consumer_table_ptr);

DESCRIPTION    [Toc]    [Back]

     This is used to close a handle on an Elf section containing translation
     information.  consumer_table_ptr must be a	valid open handle on an	xlate
     consumer section.

     This releases all memory allocated	by the xlate functions for this
     xlate_table_con (except as	documented in calls that certain things	must
     be	free(3)d explicitly by the application).

FILES    [Toc]    [Back]


DIAGNOSTICS    [Toc]    [Back]

     Returns XLATE_TB_STATUS_NO_ERROR (0) on success.  In case of error, a
     negative number is	returned indicating the	error.	In case	of error,
     nothing is	returned thru the pointer arguments which would	return values
     on	successful call	(values	might have been	changed	thru these pointers
     but any such changes are not meaningful).

	     means that	a NULL (0) pointer was passed as the
	     consumer_table_ptr.  This is unwise since most of the translation
	     library calls will	simply coredump	when passed a NULL

	     The initial bytes of the structure	pointed	to by
	     consumer_table_ptr	have been corrupted (indicating	malloc(3)
	     arena corruption) or the pointer is not pointing to a valid open
	     consumer table.  This error can be	caused by, for example,
	     calling xlate_finish twice	on the same consumer_table_ptr.

									Page 1


SEE ALSO    [Toc]    [Back]

     libelfutil(5), xlate(4), xlate_init_fd(3e), xlate_init_elf(3e),
     xlate_pro_init(3e), xlate_pro_finish(3e), xlate_address(3e)

									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
xlate_init_fd IRIX open translation section
xlate_pro_init IRIX open translation section creator
xlate_pro_finish IRIX close translation handle
xlate IRIX the address translation object file section of an ELF object
elf_getdata IRIX get section data
elf_getscn IRIX get section information
DtMmdbLocatorGetSectionLoc HP-UX obtains the locator of a section
DtMmdbSectionGetData HP-UX obtains the data for a section
xlate_address IRIX do address translation
xlate_pro_add_range IRIX add a translation range
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service