Marco van de Voort
marcov at stack.nl
Mon Mar 9 13:30:28 CET 2015
In our previous episode, Mark Morgan Lloyd said:
> Are there any known issues with this sort of thing fpGetTimeOfDay
> (@TimeVal, nil) on various platforms? FPC 2.6.4 and 2.7.1 seem to be OK
> on x86, but on x64 (and FWIW SPARC, haven't tested others) it appears to
> be returning a fixed TimeVal plus a result of zero even if there are
> several seconds between calls.
My FreeBSD manpage says:
... If tp or tzp is NULL, the associated time
information will not be returned or set.
The Linux manpage words it differently:
If either tv or tz is NULL, the corresponding structure is not set or
returned. (However, compilation warnings will result if tv is NULL.)
More information about the fpc-pascal