Complex sentence: The last parameter is always the return value, which can be denoted as void for one-way operations, whereas the function return value is used for error diagnostics.
Split into simpler sentences: The last parameter is always the return value, which can be denoted as void for one-way operations. The function return value is used for error diagnostics.