os/native/PipeUnix
-
class PipeUnix
-
-
static method new~withFDs(readFD, writeFD: FileDescriptor) → PipeUnix
-
method init~withFDs(readFD, writeFD: FileDescriptor)
-
static method new~twos → PipeUnix
-
method init~twos
-
method read(len: Int) → Pointer
- read ‘len’ bytes at most from the pipe
-
method write(data: Pointer, len: Int) → Int
- write ‘len’ bytes of ‘data’ to the pipe
-
method close(mode: Char) → Int
- close the pipe, either in reading or writing
@param arg ‘r’ = close in reading, ‘w’ = close in writing
-
readFD → FileDescriptor
-
writeFD → FileDescriptor