write multimethod
Methods
- write(s:Str, fd:Int)deprecated Source: stdlib.ngs:4187
DEPRECATED! Do not use!
- write(fd:Int, s:Str) Source: stdlib.ngs:4197
Write data to a file referenced by file descriptor. WARNING: Incomplete implementation. TODO: handle errors, throw exceptions. TODO: handle possible EINTR. Parameters
fd File descriptor to write to Returns
unspecified at this time, do not count on it
- write(s:Str, p:Pipe)deprecated Source: stdlib.ngs:4278
DEPRECATED! Do not use!
- write(p:Pipe, s:Str) Source: stdlib.ngs:4284
Write to Pipe. TODO: document if it throws. Returns
unspecified at this time, do not count on it
- write(cp:CommandsPipeline, s:Str) Source: stdlib.ngs:4896
Write to first process of CommandsPipeline 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:6114
Write whole file
- write(s:Str, f:File) Source: stdlib.ngs:6126
Write whole file if it's closed, write to file descriptor if it's open
- write(f:File, s:Str) Source: stdlib.ngs:6131
Undocumented