[asterisk-dev] common functions for int2string conversion

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Mon Jul 16 10:20:28 CDT 2007


On Monday 16 July 2007 09:13, Klaus Darilion wrote:
> Are somewhere common functions for string/integer conversion defined?

Integer-to-string:
snprintf

String-to-integer:
atoi (if you don't need to detect errors)
sscanf (if you do)

-- 
Tilghman



More information about the asterisk-dev mailing list