Newlib date and time functions

Assembler, C/C++ related topics
marvin
Developer
Posts: 32
Joined: Tue Jul 08, 2014 2:17 pm

Newlib date and time functions

Postby marvin » Sat Sep 06, 2014 11:19 am

Hi,

gettimeofday() and settimeofday() have been added to Kiwi-Newlib.
Please update your local Newlib folder from Subversion, before using date- and time-functions in C-programs.

Greetings
Marvin

simon
Site Admin
Posts: 744
Joined: Thu Sep 13, 2012 9:35 am
Location: Luedenscheid, Germany
Contact:

Re: Newlib date and time functions

Postby simon » Mon Sep 08, 2014 9:32 pm

Hi Marvin,

fantastic! :)
Do you know if the FAT library makes use of the time/date functions? We should try to pimp the BASIC to be able to give some arguments to the programs. You already missed them for Frotz and I missed them when I wrote a little copy program...

Simon

marvin
Developer
Posts: 32
Joined: Tue Jul 08, 2014 2:17 pm

Re: Newlib date and time functions

Postby marvin » Fri Sep 12, 2014 8:04 am

Hi Simon,

a quick search in folder NewLib/libgloss/m68k/ did not reveal FAT-code using date or time functions depending on gettimeofday/settimeofday.

Cheers
Marvin

simon
Site Admin
Posts: 744
Joined: Thu Sep 13, 2012 9:35 am
Location: Luedenscheid, Germany
Contact:

Re: Newlib date and time functions

Postby simon » Tue Sep 16, 2014 6:17 pm

Ok, I will keep that in mind when I rework the SAVE routine of the BASIC. Maybe we should add the date/time functions. :)


cron