(fd)
| 2134 | throw new FS.ErrnoError(33); |
| 2135 | }, |
| 2136 | getStreamChecked(fd) { |
| 2137 | var stream = FS.getStream(fd); |
| 2138 | if (!stream) { |
| 2139 | throw new FS.ErrnoError(8); |
| 2140 | } |
| 2141 | return stream; |
| 2142 | }, |
| 2143 | getStream: (fd) => FS.streams[fd], |
| 2144 | createStream(stream, fd = -1) { |
| 2145 | if (!FS.FSStream) { |
nothing calls this directly
no outgoing calls
no test coverage detected