[Xapian-devel] Replace atoi and atol with strtol strtoul:Need Help

Priyank Bhatt priyankbhatt1234 at gmail.com
Mon Dec 15 21:02:31 GMT 2014


Hello,
I am working on replacing atoi () and atol() functions with strtol() and
strtoul() . I came across many files which uses statement  like these
time_t secs= atoi(data_span.c_str()), here time_t Datatype is not known but
wikipedia says that it is integer so is it necessary to replace  atoi with
strtol over here ??

And is their any document which helps me what each file function does like
date.cc,cgiparams.cc,omega.cc,query.cc.

Thank You
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20141216/4b57b5a9/attachment.html>


More information about the Xapian-devel mailing list