Lua bindings to functions necessary for pseudo-terminals in Linux.