History log of /netbsd/sys/modules/examples/luareadhappy/luareadhappy.c (Results 1 – 2 of 2)
Revision Date Author Comments
# e56e9450 30-Jan-2020 kamil <kamil@NetBSD.org>

Align major numbers in example modules with sys/conf/majors

Patch submitted by: Aditya Vardhan Padala (silv3r)


# 01ae9793 15-Apr-2017 kamil <kamil@NetBSD.org>

Add new example kernel module in Lua luareadhappy

This example presents a C module with its device (/dev entry) and its
content generator with algorithm defined in Lua state. The Lua state can
be ch

Add new example kernel module in Lua luareadhappy

This example presents a C module with its device (/dev entry) and its
content generator with algorithm defined in Lua state. The Lua state can
be changed dynamically from userland, without interruption of read(2) over
the device.

This is an example how to call Lua code from C.

show more ...