Converts an integer into the equivalent null-terminated, hexadecimal string and stores it.
#include <stdlib.h> char *itoh (int n, char *buffer);
#include <wchar.h>
wchar_t *_itohw(wint n, wchar_t *buffer);
wchar_t *_witoh(wint n, wchar_t *buffer);
n
buffer
itoh converts all non-numeric hexadecimal characters to lower case. This function also does not place a leading 0 character in the buffer.
For portability, use the sprintf %x conversion specifier.
_itohw is the wide-character version of itoh. _witoh is an alias for _itohw.
A pointer to the converted string.
tchar.h routine |
_UNICODE not defined |
_UNICODE defined |
---|---|---|
_itoth | itoh | _itohw |
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 whcar.h tchar.h |
clib.lib |