##### Synopsis

    #include <__cross_studio_io.h>
    unsigned long debug_ftell(unsigned long *ptr);

##### Description

debug_time writes the current file position of stream to the object pointed to by offset.

debug_ftell returns EOF on error:

debug_time returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time (UTC), according to the system clock of the host computer.

The return value is stored in *ptr if ptr is not NULL.

##### Portability

debug_time is an extension provided by CrossWorks C.