Return value of lseek() can be negative on failure.
Because the return value of lseek() was assigned to an unsigned size_t variable, we'd fail to notice an error return code -1. Compiler gave a warning about this. Andres Freund
Showing
Please register or sign in to comment