[fpc-devel] NowUTC in the RTL

Henry Vermaak henry.vermaak at gmail.com
Fri Dec 9 15:17:46 CET 2011


On 09/12/11 14:02, Michael Van Canneyt wrote:
>
>
> On Fri, 9 Dec 2011, Felipe Monteiro de Carvalho wrote:
>
>> Hello,
>>
>> How can one call clock_gettime ? I couldn't find a fp prefixed routine
>> for it ...
>
> I have this on my todo list.
>
> The main problem is that I don't know yet if it is Linux-specific or Posix.
> That will determine which unit it will be added to. Maybe Marco knows
> more ?

The man page says it's POSIX:

http://www.kernel.org/doc/man-pages/online/pages/man2/clock_gettime.2.html#CONFORMING_TO

Henry



More information about the fpc-devel mailing list