Time-of-Day Functionality WITHOUT Standard Libs
I'm working on a project which requires me to generate an API which wraps around some automatically generated code being spit out of one of Matlab's tools. The goal and requirement is to have the API built into a single object/library file for inclusion in some legacy FORTRAN code and accompanying model.
My question is this:
Is there some way to access some Time-of-Day functionality similar to that in the C Standard Libraries (time.h), without using the C Standard Libraries? In order to integrate my code with FORTRAN, we need to eliminate the use of any C libraries as this might raise problems in the future.
Any help would be appreciated.