summaryrefslogtreecommitdiffstats
path: root/linenoise
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-10-12 07:15:15 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-10-12 07:15:15 -0700
commit4cfe73161d6e00b583c452ef2502862c80d9ce9f (patch)
tree05fd3d17f74334baead11d439b5183e89997122c /linenoise
parent548116bed68b51f86d520eb4ef8825c824a50a5c (diff)
downloadtxr-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