Flowdock
write_nonblock(p1) public

Writes the given string to ios using write(2) system call after O_NONBLOCK is set for the underlying file descriptor.

write_nonblock just calls write(2). It causes all errors write(2) causes: EAGAIN, EINTR, etc. The result may also be smaller than string.length (partial write). The caller should care such errors and partial write.

Show source
Register or log in to add new notes.