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

  man pages->IRIX man pages -> libelfutil/_leb128_unsigned_encode64 (3)              
Title
Content
Arch
Section
 

Contents


_LEB128_UNSIGNED_ENCODE64(3E)			 _LEB128_UNSIGNED_ENCODE64(3E)


NAME    [Toc]    [Back]

     _leb128_unsigned_encode64:	_leb128_signed_encode64:
     _leb128_unsigned_encode32:	_leb128_signed_encode32: - encode leb128
     integers

SYNOPSIS    [Toc]    [Back]

     #include <cmplrs/leb128.h>

     int _leb128_unsigned_encode64(__uint64_t number, char* buffer);

     int _leb128_signed_encode64(__int64_t number, char* buffer);

     int _leb128_unsigned_encode32(__uint32_t number, char* buffer);

     int _leb128_signed_encode32(__int32_t number, char* buffer);

DESCRIPTION    [Toc]    [Back]

     These routines encode integers into the leb128 format.  The leb128	format
     is	a variable-length encoding extensively used in the DWARF debugging
     information format	and is described in the	DWARF documentation.

     The encoded number	is placed into buffer and the number of	bytes of
     buffer used to encode the number is returned.

     Link with the option -lelfutil to link in these routines.

     The arguments are as follows:

     number
	  is the input number to be converted to leb128	format.

     buffer  is	a buffer provided by the caller.  The pointed-at-buffer	must
	     be	at least 5 bytes long for the 64-bit input integers and	at
	     least 10 bytes long for the 32 bit	input integers.	 No buffer
	     overrun checking is possible in these routines so the caller must
	     provide the required buffer space.

FILES    [Toc]    [Back]

     /usr/include/cmplrs/leb128.h
     /usr/lib/libelfutil.a
     /usr/lib32/libelfutil.a
     /usr/lib64/libelfutil.a

DIAGNOSTICS    [Toc]    [Back]

     Returns the number	of bytes used to encode	the number.  The returned
     value will	be in the range	1 to 5 for the 32-bit number input versions.
     The returned value	will be	in the range 1 to 10 for the 64-bit number
     input versions.







									Page 1






_LEB128_UNSIGNED_ENCODE64(3E)			 _LEB128_UNSIGNED_ENCODE64(3E)



SEE ALSO
     libelfutil(5), xlate(4), _leb128_unsigned_decode64,
     _leb128_unsigned_decode32,	_leb128_signed_decode64,
     _leb128_signed_decode32, DWARF Debugging Information Format , A Consumer
     Library Interface to DWARF


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
_leb128_unsigned_decode64 IRIX decode leb128 integers
l3tol IRIX convert between 3-byte integers and long integers
libelfutil IRIX library for xlate sections and leb128 numbers.
pxfucompare IRIX Compares unsigned integers
BN_add_word NetBSD arithmetic functions on BIGNUMs with integers
ldiv Tru64 Computes absolute value and division of integers
labs Tru64 Computes absolute value and division of integers
div Tru64 Computes absolute value and division of integers
abs Tru64 Computes absolute value and division of integers
BN_sub_word Tru64 Arithmetic functions on BIGNUMs with integers
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service