projects
/
rrdtool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
d4dc16f
)
src/rrd_daemon.c: Use `sread' and `swrite' instead of read(2) and write(2).
author
Florian Forster
<octo@verplant.org>
Thu, 3 Jul 2008 09:39:13 +0000
(11:39 +0200)
committer
Florian 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