Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2026.1

# ClientUser::Diff( FileSys *, FileSys *, FileSys *, int, char *, Error * )

Diff two files, and output the results to a third file.

Virtual? | Yes |
Class | `ClientUser` |
Arguments | `FileSys *f1` | the first file to be diffed
| `FileSys *f2` | the second file to be diffed
| `FileSys *fout` | the target file for diff output
| `int doPage` | should output be paged?
| `char *diffFlags` | flags to diff routine
| `Error *e` | an `Error` object
Returns | `void` |

## Notes

This method works like `Diff()`, but instead of sending data to the standard output, writes the data to the specified output file.

Your search for returned results