[fpc-devel] NowUTC in the RTL

Henry Vermaak henry.vermaak at gmail.com
Fri Dec 9 16:37:34 CET 2011


On 09/12/11 15:23, Marco van de Voort wrote:
> In our previous episode, Michael Van Canneyt said:
>>
>> No problem.
>> I will do it so, I was leaning to this anyway based on the mails of Zeljko some
>> weeks back where the OSX issue was already touched upon.
>>
>> I just wanted to know the POSIX situation first, and now that's cleared up.
>
> Btw, you'll need clock_getres too, to get the granularity of the relevant
> timer. (and anything using these, should really use that function)
>
> Still I think it is better to put this in a package, and link to libc for
> them, instead of pulling this into the core. (iow, like the users package)

I don't understand.  Why link to libc for these?  They are syscalls, if 
I'm not missing something.

Henry



More information about the fpc-devel mailing list