summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/nixio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nixio/src/nixio.c')
-rw-r--r--libs/nixio/src/nixio.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/nixio/src/nixio.c b/libs/nixio/src/nixio.c
index e44f5fd47..d433ba4fd 100644
--- a/libs/nixio/src/nixio.c
+++ b/libs/nixio/src/nixio.c
@@ -130,9 +130,10 @@ LUALIB_API int luaopen_nixio(lua_State *L) {
lua_setfield(L, -2, "version");
/* some constants */
- lua_createtable(L, 0, 11);
+ lua_createtable(L, 0, 16);
NIXIO_PUSH_CONSTANT(EACCES);
+ NIXIO_PUSH_CONSTANT(EINTR);
NIXIO_PUSH_CONSTANT(ENOSYS);
NIXIO_PUSH_CONSTANT(EINVAL);
NIXIO_PUSH_CONSTANT(EWOULDBLOCK);
@@ -143,6 +144,10 @@ LUALIB_API int luaopen_nixio(lua_State *L) {
NIXIO_PUSH_CONSTANT(SIGINT);
NIXIO_PUSH_CONSTANT(SIGTERM);
NIXIO_PUSH_CONSTANT(SIGKILL);
+ NIXIO_PUSH_CONSTANT(SIGHUP);
+ NIXIO_PUSH_CONSTANT(SIGSTOP);
+ NIXIO_PUSH_CONSTANT(SIGCONT);
+ NIXIO_PUSH_CONSTANT(SIGSEGV);
lua_setfield(L, -2, "const");