mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
added tell stub for named pipe stream's
This commit is contained in:
parent
dd9ba26f7b
commit
490db13498
2 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue