D6197: Add kauth helper to file ioslave
David Faure
noreply at phabricator.kde.org
Sun Aug 6 19:16:06 UTC 2017
dfaure added a comment.
Not sure I understand your question. If we agree on using return values then there is only one way to do that. E.g. chmod() returns 0 on success, so the code could be like
if (chmod(...) == 0)
return reply;
break;
which jumps to the if (errno) code when chmod returns non-zero.
Same for all other methods, check the man page for each to avoid making any assumptions, but presumably they all return 0 on success.
REVISION DETAIL
https://phabricator.kde.org/D6197
To: chinmoyr, elvisangelaccio, #frameworks, dfaure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170806/83f4a6c7/attachment.html>
More information about the Kde-frameworks-devel
mailing list