fix uhub_itoa() and uhub_ulltoa()

This commit is contained in:
Tilka
2012-05-10 23:24:42 +02:00
parent eb49174ab3
commit 8365278cbf
3 changed files with 10 additions and 33 deletions

View File

@@ -53,7 +53,11 @@ extern int file_read_lines(const char* file, void* data, file_line_handler_t han
*/
extern int string_to_boolean(const char* str, int* boolean);
/**
* Convert number to string.
* Note: these functions are neither thread-safe nor reentrant.
* @return pointer to the resulting string, NULL on error
*/
extern const char* uhub_itoa(int val);
extern const char* uhub_ulltoa(uint64_t val);