added tell stub for named pipe stream's

This commit is contained in:
Onran 2026-06-22 00:31:58 +09:00
parent dd9ba26f7b
commit 490db13498
2 changed files with 8 additions and 0 deletions

View file

@ -64,6 +64,10 @@ function lib.seek(fd, mode, offset)
error("cannot seek the named pipe")
end
function lib.tell(fd)
error("cannot tell the named pipe")
end
function lib.flush(fd)
-- no flush on unix
end

View file

@ -101,6 +101,10 @@ function lib.seek(handle, mode, offset)
error("cannot seek the named pipe")
end
function lib.tell(handle)
error("cannot tell the named pipe")
end
function lib.flush(handle)
C.FlushFileBuffers(handle)
end