static int _lfunc_sexe_utime(lua_State *L) { double f = luaL_checknumber(L, 1); shtime_t t = SHTIME_UNDEFINED; shnum_set(f, &t); lua_pushnumber(L, (lua_Number)shutime(t)); return 1; /* 'utime' */ }
time_t shgeo_timestamp(shgeo_t *geo) { return (shutime(geo->geo_stamp)); }