# input_osc_52_parse

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

```c
static int input_osc_52_parse(struct input_ctx *ictx, const char *p, u_char **out, int *outlen, char *clip)
```

## Parameters

- `ictx` (`struct input_ctx *`)
- `p` (`const char *`)
- `out` (`u_char **`)
- `outlen` (`int *`)
- `clip` (`char *`)

## Called by

- [`input_osc_52`](/en/tmux/latest/reference/c-function-input-c-input_osc_52/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3278)

## Calls

- [`input_osc_52_reply`](/en/tmux/latest/reference/c-function-input-c-input_osc_52_reply/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3250)
- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3241)
- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3233)
- [`xmalloc`](/en/tmux/latest/reference/c-function-xmalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3258)

## Referenced declarations

- [`global_options`](/en/tmux/latest/reference/c-variable-global_options/) (attribute)
- [`input_ctx`](/en/tmux/latest/reference/c-struct-input_ctx/) (struct)
