search for: data_span

Displaying 2 results from an estimated 2 matches for "data_span".

Did you mean: data_seen
2014 Dec 15
2
Replace atoi and atol with strtol strtoul:Need Help
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 ----...
2014 Dec 16
2
Replace atoi and atol with strtol strtoul:Need Help
...s <olly at survex.com> wrote: > > On Tue, Dec 16, 2014 at 02:32:31AM +0530, Priyank Bhatt wrote: > > 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 ?? > > The time_t type is a standard one - ISO C only says it's a "arithmetic > type" (so it could potenti...