|
RetroArch
|
#include "lprefix.h"#include <errno.h>#include <locale.h>#include <stdlib.h>#include <string.h>#include <time.h>#include "lua.h"#include "lauxlib.h"#include "lualib.h"Macros | |
| #define | loslib_c |
| #define | LUA_LIB |
| #define | L_STRFTIMEC89 "aAbBcdHIjmMpSUwWxXyYZ%" |
| #define | L_STRFTIMEC99 |
| #define | L_STRFTIMEWIN |
| #define | LUA_STRFTIMEOPTIONS L_STRFTIMEC99 |
| #define | l_timet lua_Integer |
| #define | l_pushtime(L, t) lua_pushinteger(L,(lua_Integer)(t)) |
| #define | l_gmtime(t, r) ((void)(r)->tm_sec, gmtime(t)) |
| #define | l_localtime(t, r) ((void)(r)->tm_sec, localtime(t)) |
| #define | LUA_TMPNAMBUFSIZE L_tmpnam |
| #define | lua_tmpnam(b, e) { e = (tmpnam(b) == NULL); } |
| #define | L_MAXDATEFIELD (INT_MAX / 2) |
| #define | SIZETIMEFMT 250 |
Functions | |
| static time_t | l_checktime (lua_State *L, int arg) |
| static int | os_execute (lua_State *L) |
| static int | os_remove (lua_State *L) |
| static int | os_rename (lua_State *L) |
| static int | os_tmpname (lua_State *L) |
| static int | os_getenv (lua_State *L) |
| static int | os_clock (lua_State *L) |
| static void | setfield (lua_State *L, const char *key, int value) |
| static void | setboolfield (lua_State *L, const char *key, int value) |
| static void | setallfields (lua_State *L, struct tm *stm) |
| static int | getboolfield (lua_State *L, const char *key) |
| static int | getfield (lua_State *L, const char *key, int d, int delta) |
| static const char * | checkoption (lua_State *L, const char *conv, ptrdiff_t convlen, char *buff) |
| static int | os_date (lua_State *L) |
| static int | os_time (lua_State *L) |
| static int | os_difftime (lua_State *L) |
| static int | os_setlocale (lua_State *L) |
| static int | os_exit (lua_State *L) |
| LUAMOD_API int | luaopen_os (lua_State *L) |
Variables | |
| static const luaL_Reg | syslib [] |
| #define L_MAXDATEFIELD (INT_MAX / 2) |
| #define l_pushtime | ( | L, | |
| t | |||
| ) | lua_pushinteger(L,(lua_Integer)(t)) |
| #define L_STRFTIMEC89 "aAbBcdHIjmMpSUwWxXyYZ%" |
| #define L_STRFTIMEC99 |
| #define L_STRFTIMEWIN |
| #define l_timet lua_Integer |
| #define loslib_c |
| #define LUA_LIB |
| #define LUA_STRFTIMEOPTIONS L_STRFTIMEC99 |
| #define LUA_TMPNAMBUFSIZE L_tmpnam |
| #define SIZETIMEFMT 250 |
|
static |
|
static |
| LUAMOD_API int luaopen_os | ( | lua_State * | L | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.15