[asterisk-dev] common functions for int2string conversion

Klaus Darilion klaus.mailinglists at pernau.at
Mon Jul 16 10:27:13 CDT 2007



Russell Bryant wrote:
> Klaus Darilion wrote:
>> Are somewhere common functions for string/integer conversion defined?
> 
> There are a lot of functions in the standard C library for doing these
> types of things.  You may need to be more specific to get the answer you
> are looking for.

For example atoi(): it does not catch errors. I know there is strtol() 
too. I just wanted to know if maybe there are asterisk internal 
functions for such conversions like there is ast_copy_string for string 
handling.

regards
klaus



More information about the asterisk-dev mailing list