# window_buffer_search

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-buffer.c#L251
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-buffer-c-window_buffer_search/

```c
static int window_buffer_search(void *modedata, void *itemdata, const char *ss, int icase)
```

## Parameters

- `modedata` (`void *`)
- `itemdata` (`void *`)
- `ss` (`const char *`)
- `icase` (`int`)

## Calls

- [`paste_buffer_data`](/en/tmux/3.7c/reference/c-function-paste_buffer_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-buffer.c#L264)
- [`window_buffer_find`](/en/tmux/3.7c/reference/c-function-window-buffer-c-window_buffer_find/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-buffer.c#L265)

## Other function references

- [`paste_get_name`](/en/tmux/3.7c/reference/c-function-paste_get_name/) (function)

## Referenced by

- [`window_buffer_init`](/en/tmux/3.7c/reference/c-function-window-buffer-c-window_buffer_init/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`window_buffer_itemdata.name`](/en/tmux/3.7c/reference/c-struct-window_buffer_itemdata-name/) (attribute)
