In our previous episode, Michael Van Canneyt said:
> >
> > But maybe IMHO this kind of stuff should remain out of sysutils, certainly 
> > now
> > it is not entirely clear, and people are still searching for solutions.
> 
> That's not the question.
> 
> clock_gettime is a linux kernel call. No-one is proposing to add it to 
> sysutils.

If we decide to use it via libc, we might not have to add it as a syscall.
 
> The question is whether clock_gettime is POSIX, and if BSD has it.
> The linux man page seems to say it is POSIX 2001. My question is if BSD has 
> it.

FreeBSD has it.  But OS X hasn't it seems, not even in recent versions.

Solaris seems to have it (libc call (3) though). 
Can't check openbsd or Haiku easily.

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to