...
EXP12-EX1: If the return value is inconsequential or if any errors can be safely ignored, such as for functions called because of their side effects, the function should be explicitly cast to void
to signify programmer intent. See the compliant solution for removing an existing destination file in FIO10-A. Take care when using the rename() function for an example of this exception.
...