src/rrd_daemon.c: Use `sread' and `swrite' instead of read(2) and write(2).
authorFlorian Forster <octo@verplant.org>
Thu, 3 Jul 2008 09:39:13 +0000 (11:39 +0200)
committerFlorian Forster <octo@verplant.org>
Thu, 3 Jul 2008 09:39:13 +0000 (11:39 +0200)
The ``secure'' sread assures that the received string ends with a newline,
strips it off the buffer and assures that the returned buffer is null
terminated. swrite returns success only if all bytes could be written.


No differences found