I've been trawling for an hour or so for the C source of the functions in 'time.h', to no avail. Does anyone have a pointer please?
John B
I've been trawling for an hour or so for the C source of the functions in 'time.h', to no avail. Does anyone have a pointer please?
The functions from the time.h header are implemented differently for different processors/OSes/compilers. You could look at the publicly available glibc implementation
You can also checkout the entire newlib via anonymous cvs.
Andrew
You can find one version in the glibc project:
Thanks for those links. I'll have alook.
Have something to add? Share your thoughts — no account required.
Ask the community — no account required