stm               141 lib/lua/loslib.c   struct tm *stm;
stm               147 lib/lua/loslib.c     stm = gmtime(&t);
stm               149 lib/lua/loslib.c     stm = localtime(&t);
stm               153 lib/lua/loslib.c     stm = localtime(&t);
stm               154 lib/lua/loslib.c   if (stm == NULL)  /* invalid date? */
stm               158 lib/lua/loslib.c     setfield(L, "sec", stm->tm_sec);
stm               159 lib/lua/loslib.c     setfield(L, "min", stm->tm_min);
stm               160 lib/lua/loslib.c     setfield(L, "hour", stm->tm_hour);
stm               161 lib/lua/loslib.c     setfield(L, "day", stm->tm_mday);
stm               162 lib/lua/loslib.c     setfield(L, "month", stm->tm_mon+1);
stm               163 lib/lua/loslib.c     setfield(L, "year", stm->tm_year+1900);
stm               164 lib/lua/loslib.c     setfield(L, "wday", stm->tm_wday+1);
stm               165 lib/lua/loslib.c     setfield(L, "yday", stm->tm_yday+1);
stm               166 lib/lua/loslib.c     setboolfield(L, "isdst", stm->tm_isdst);
stm               180 lib/lua/loslib.c         reslen = strftime(buff, sizeof(buff), cc, stm);