Building newlib with clock_gettime()

Keith Thompson Keith.S.Thompson@gmail.com
Mon Jan 13 00:23:26 GMT 2025


> Newlib does not provide an implementation for clock_gettime().

I see an implementation of clock_gettime() in the newlib sources:

https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/times.cc;h=a89980d08f9b9bf6755de833666f8b204cabbcd8;hb=HEAD#l459

And I'm able to use clock_gettime() on Cygwin.

Am I missing something?


More information about the Newlib mailing list