mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-22 07:09:18 +02:00
the time module is garbage, because libc time handling is garbage. the signal handling is still experimental, use at your own risk. still need a host module for user/group and other host information.
11 lines
433 B
Text
11 lines
433 B
Text
|
|
(define-module (chibi time)
|
|
(export current-seconds get-time-of-day set-time-of-day!
|
|
seconds->time seconds->string time->seconds time->string
|
|
timeval-seconds timeval-microseconds
|
|
timezone-offset timezone-dst-time
|
|
time-second time-minute time-hour time-day time-month time-year
|
|
time-day-of-week time-day-of-year time-dst?)
|
|
(import-immutable (scheme))
|
|
(include-shared "time"))
|
|
|