# environ_find

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

```c
struct environ_entry * environ_find(struct environ *env, const char *name)
```

## Parameters

- `env` (`struct environ *`)
- `name` (`const char *`)

## Called by

- [`cmd_find_inside_pane`](/en/tmux/latest/reference/c-function-cmd-find-c-cmd_find_inside_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L93)
- [`cmd_show_environment_exec`](/en/tmux/latest/reference/c-function-cmd-show-environment-c-cmd_show_environment_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-environment.c#L128)
- [`expand_path`](/en/tmux/latest/reference/c-function-tmux-c-expand_path/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.c#L128)
- [`format_find`](/en/tmux/latest/reference/c-function-format-c-format_find/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4129)
- [`server_client_check_nested`](/en/tmux/latest/reference/c-function-server_client_check_nested/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L228)
- [`spawn_pane`](/en/tmux/latest/reference/c-function-spawn_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/spawn.c#L333)
- [`tty_term_create`](/en/tmux/latest/reference/c-function-tty_term_create/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-term.c#L609)

## Referenced by

- [`environ_clear`](/en/tmux/latest/reference/c-function-environ_clear/) (function)
- [`environ_set`](/en/tmux/latest/reference/c-function-environ_set/) (function)
- [`environ_unset`](/en/tmux/latest/reference/c-function-environ_unset/) (function)

## Referenced declarations

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