Skip to content
Advertisement

Tag: timespec

Where to find the source code of timespec_get?

The C11 standard provides the function timespec_get. If I run the example code on cppreference, or on my computer, it works: However, if I look at the sources of glibc here, the code is the following: Which… should not work… Which leads to the question: where is the source code of timespec_get that is actually called? Answer The timespec_get function’s

Advertisement