patch.1p
The following exit values shall be returned:
0 Successful completion.
1 One or more lines were written to a reject file.
>1 An error occurred.