Writes all of text to fd. On macOS Node keeps a piped stdout non-blocking, so one writeSync can write only the first part, or fail with EAGAIN while the pipe is full. On Linux the pipe is blocking and this is a single write.
text
fd
writeSync
Writes all of
texttofd. On macOS Node keeps a piped stdout non-blocking, so onewriteSynccan write only the first part, or fail with EAGAIN while the pipe is full. On Linux the pipe is blocking and this is a single write.