Converts a long integer to a null-terminated hexadecimal string and stores it.
#include <stdlib.h> char *ltoh(unsigned long value, char *string);
#include <wchar.h>
wchar_t *_ltohw(unsigned long value, wchar_t *string);
value 
string 
This function does not place leading 0 characters in the result.
This function produces hexadecimal characters in lower case (a-f). For portability, use the sprintf %lx conversion specifier.
A pointer to the converted string.
tchar.h routine | 
_UNICODE not defined | 
_UNICODE defined | 
|---|---|---|
| _ltoth | ltoh | _ltohw | 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 INtime 6.0 (for wide-character and generic text versions)  | 
intime/rt/include/stdlib.h intime/rt/include/wchar.h intime/rt/include/tchar.h  | 
stdlib.h wchar.h tchar.h  | 
clib.lib |