C Source code for time.h functions

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
Reply to
John B
Loading thread data ...

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

Reply to
andrew queisser

You can find one version in the glibc project:

formatting link

Reply to
Arlet

Thanks for those links. I'll have alook.

--
John B
Reply to
John B

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.