write multimethod
Methods
- write(s:Str, fd:Int)deprecated Source: stdlib.ngs:6036
DEPRECATED! Do not use!
- write(s:Str) Source: stdlib.ngs:6043
Write a string to stdout. Does not add a newline character, while echo() does. Returns
1, the standard output file descriptor
- write(fd:Int, s:Str) Source: stdlib.ngs:6054
Throws WriteFail on failure. Parameters
fd File descriptor to write to s String of bytes to write Returns
fd
- write(s:Str, p:Pipe)deprecated Source: stdlib.ngs:6161
DEPRECATED! Do not use!
- write(p:Pipe, s:Str) Source: stdlib.ngs:6167
Write to Pipe. TODO: document if it throws. Returns
unspecified at this time, do not count on it
- write(pp:ProcessesPipeline, s:Str) Source: stdlib.ngs:6952
Write to first process of ProcessesPipeline Example
p = (|cat -n | tac >/tmp/1) p.write("one\n") p.write("two\n") p.close()
- write(fname:Str, s:Str) Source: stdlib.ngs:8545
Write whole file
- write(s:Str, f:File) Source: stdlib.ngs:8557
Write whole file if it's closed, write to file descriptor if it's open
- write(f:File, s:Str) Source: stdlib.ngs:8561
Write whole file if it's closed, write to file descriptor if it's open
- write(t:Terminal, s:Str)
Undocumented