# options_cmp

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

```c
static int options_cmp(struct options_entry *, struct options_entry *)
```

## Parameters

- `lhs` (`struct options_entry *`)
- `rhs` (`struct options_entry *`)

## Referenced by

- [`options_tree_RB_FIND`](/en/tmux/3.2a/reference/c-function-options-c-options_tree_rb_find/) (function)

## Referenced declarations

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