[PATCH] itoa

Jon Beniston jon@beniston.com
Sun Dec 7 13:34:00 GMT 2014


Hi,

The attached patch adds support for the itoa and utoa functions, for
converting integers to strings.

This is a function that is supported on other platforms, and useful on
embedded systems where sprintf is quite large and doesn't support binary.

Cheers,
Jon

2014-12-07  Jon Beniston  <jon@beniston.com>

	* libc/include/stdlib.h (itoa):  Declare.
	(utoa): Declare.
	* libc/stdlib/Makefile.am: Add itoa.c and utoa.c.
	* libc/stdlib/itoa.c: New file.
	* libc/stdlib/utoa.c: New file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: itoa.patch
Type: application/octet-stream
Size: 5012 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20141207/7237d221/attachment.obj>


More information about the Newlib mailing list