OC-Tsuki/ksrc/fs/foxfs/filehand.lua
Jane Roxanne e44d6177a0 kio++
2020-06-02 01:14:26 -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