When I run the command:
kdiff3 file1 file2 file3 -m
If you don't specify an output file explicitely (via -o) then the third (last)
file will be the destination.
The exit status is 0 when after a merge the output file was saved
successfully. And 1 if you exit without saving.