Nagios
4.4.6
Dev docs for Nagios core and neb-module hackers
|
Functions that properly handle incomplete write()'s. More...
Go to the source code of this file.
Functions that properly handle incomplete write()'s.
Some functions simply use write() to send data through a socket. These calls are sometimes interrupted, especially in the case of an overly large buffer. Even though the write() could finish, the incomplete write is treated as an error. The functions here properly handle those cases.