This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] itoa


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.

Attachment: itoa.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]