SKS OCDoc
OpenComputers
Computronics
Minitel

module/devfs.lua

devfs.register(fname^string^, fopen^function^)

Register a new devfs node with the name fname that will run the function fopen when opened. This function should return a function for read, a function for write, function for close, and optionally, a function for seek, in that order.

© ShadowKat Studios
The software used to generate this page is licensed under the Mozilla Public License version 2 and can be found here