# window_buffer_find

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

```c
static int window_buffer_find(const void *data, size_t datalen, const void *find, size_t findlen, int icase)
```

## Parameters

- `data` (`const void *`)
- `datalen` (`size_t`)
- `find` (`const void *`)
- `findlen` (`size_t`)
- `icase` (`int`)

## Called by

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

## Referenced declarations

- [`paste_buffer.data`](/en/tmux/3.7c/reference/c-struct-paste_buffer-data/) (attribute)
