[sr-dev] acc module usage of ftime for acc_cdr
Timo Reimann
timo.reimann at 1und1.de
Tue Sep 27 22:57:46 CEST 2011
Hey Daniel,
Am 27.09.2011 um 18:08 schrieb Daniel-Constantin Mierla:
> I see that acc_cdr extension is using ftime() function. According to the
> manual, this function is obsolete and should not be used, quote:
>
> CONFORMING TO
> 4.2BSD, POSIX.1-2001. POSIX.1-2008 removes the
> specification of
> ftime().
>
> This function is obsolete. Don't use it. If the time in
> seconds suf-
> fices, time(2) can be used; gettimeofday(2)
> gives microseconds;
> clock_gettime(2) gives nanoseconds but is not as widely available.
>
> On freebsd looks like it needs libcompat for linking, otherwise throws
> error: Undefined symbol "ftime"
>
> I think it should be replaced with supported alternatives.
Thanks for the note. We'll take care of this.
Cheers,
--Timo
More information about the sr-dev
mailing list