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?
C Source code for time.h functions
Nov 16, 2007
3 Replies
John B
The functions from the time.h header are implemented differently for different processors/OSes/compilers. You could look at the publicly available glibc implementation
formatting link
or you could start with libc from newlib, which is aimed at embedded systems. Here's a link to the cvs-web interface for the time functions:
formatting link
You can also checkout the entire newlib via anonymous cvs.
Andrew
You can find one version in the glibc project:
formatting link
Thanks for those links. I'll have alook.
John B
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required