OC-Tsuki/ksrc/fs/foxfs/filehand.lua
Sam Roxanne c9c05221d9 wot
2020-06-02 01:23:58 -05:00

21 lines
314 B
Lua

function prox:open(path, mode)
local node = fox_getnode(self, path)
if not node then return nil, "file not found" end
return {node=node, pos=1, mode=mode, dev=self}
end
function prox:read(hand, amt)
end
function prox:write(hand, data)
end
function prox:seek(hand, amt)
end
function prox:close(hand)
end