opnsense-src/libexec/flua/modules/lposix.h
Mark Johnston cde4ab289d flua: Add wrappers for sys/utsname.h
This allows one to invoke uname from lua scripts.

Reviewed by:	bapt, kevans, emaste
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D42017

(cherry picked from commit 1726db7af6b3738eb04d962b351d7f4017e1fc77)
2024-10-10 20:28:20 +00:00

12 lines
209 B
C

/*-
*
* This file is in the public domain.
*/
#pragma once
#include <lua.h>
int luaopen_posix_sys_stat(lua_State *L);
int luaopen_posix_sys_utsname(lua_State *L);
int luaopen_posix_unistd(lua_State *L);