author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Mon, 31 Jul 2017 05:13:15 +0000 (12:13 +0700) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Wed, 11 Oct 2017 07:33:10 +0000 (14:33 +0700) | ||
commit | c84ce4c2d974d891712f0287932f57ed7e6be98d | |
tree | 368bf11c032ca185176ef4e8322e005f1e483142 | tree | snapshot |
parent | bbe5133c16fb12c033cc4375db4c4f9f1f1506e9 | commit | diff |
Changed return type of sread() and swrite() from 'ssize_t' to 'int'
Functions 'sread()' and 'swrite()', unlike 'read()' and 'write()', does not return the number of bytes actually read/written.
They return error status, which is returned as 'int' type in Collectd code.
Functions 'sread()' and 'swrite()', unlike 'read()' and 'write()', does not return the number of bytes actually read/written.
They return error status, which is returned as 'int' type in Collectd code.
src/daemon/common.c | diff | blob | history | |
src/daemon/common.h | diff | blob | history |