diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-10-12 07:15:15 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-10-12 07:15:15 -0700 |
commit | 4cfe73161d6e00b583c452ef2502862c80d9ce9f (patch) | |
tree | 05fd3d17f74334baead11d439b5183e89997122c /linenoise | |
parent | 548116bed68b51f86d520eb4ef8825c824a50a5c (diff) | |
download | txr-4cfe73161d6e00b583c452ef2502862c80d9ce9f.tar.gz txr-4cfe73161d6e00b583c452ef2502862c80d9ce9f.tar.bz2 txr-4cfe73161d6e00b583c452ef2502862c80d9ce9f.zip |
Support gmtoff and zone in time struct.
* lib.c (gmtoff_s, zone_s): New symbol variables.
(tm_to_time_struct): Copy tm_gmtoff and tm_zone into
Lisp struct from struct tm, if the platform has these.
(time_fields_to_tm): Zero/null-out the tm_gmtoff
and tm_zone fields of the target structure, if the
platform has them.
(time_init): Intern the gmtoff and zone symbols,
initializing the gmtoff_s and zone_s variables.
Add the gmtoff and zone slots to the time struct.
* txr.1: Documented new slots.
Diffstat (limited to 'linenoise')
0 files changed, 0 insertions, 0 deletions