util-src/pposix.c

changeset 2437
b1ba2473fd91
parent 2436
ccc71b5d2e01
child 2438
819ba949c7bc
equal deleted inserted replaced
2436:ccc71b5d2e01 2437:b1ba2473fd91
461 lua_pushnumber(L, lim.rlim_cur); 461 lua_pushnumber(L, lim.rlim_cur);
462 lua_pushnumber(L, lim.rlim_max); 462 lua_pushnumber(L, lim.rlim_max);
463 return 3; 463 return 3;
464 } 464 }
465 465
466 void lc_abort(lua_State* L) 466 int lc_abort(lua_State* L)
467 { 467 {
468 abort(); 468 abort();
469 return 0;
469 } 470 }
470 471
471 /* Register functions */ 472 /* Register functions */
472 473
473 int luaopen_util_pposix(lua_State *L) 474 int luaopen_util_pposix(lua_State *L)

mercurial