# environ_cmp

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/environ.c#L37
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-environ-c-environ_cmp/

```c
static int environ_cmp(struct environ_entry *, struct environ_entry *)
```

## Parameters

- `envent1` (`struct environ_entry *`)
- `envent2` (`struct environ_entry *`)

## Referenced by

- [`environ_RB_FIND`](/en/tmux/3.7c/reference/c-function-environ-c-environ_rb_find/) (function)

## Referenced declarations

- [`environ_entry`](/en/tmux/3.7c/reference/c-struct-environ_entry/) (struct)
- [`environ_entry.name`](/en/tmux/3.7c/reference/c-struct-environ_entry-name/) (attribute)
