# file_cmp

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/file.c#L55
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-file_cmp/

```c
int file_cmp(struct client_file *cf1, struct client_file *cf2)
```

## Parameters

- `cf1` (`struct client_file *`)
- `cf2` (`struct client_file *`)

## Referenced by

- [`client_files_RB_FIND`](/en/tmux/3.2a/reference/c-function-client_files_rb_find/) (function)

## Referenced declarations

- [`client_file`](/en/tmux/3.2a/reference/c-struct-client_file/) (struct)
- [`client_file.stream`](/en/tmux/3.2a/reference/c-struct-client_file-stream/) (attribute)
