# hanguljamo_check_state

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/utf8-combined.c#L284
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-hanguljamo_check_state/

```c
enum hanguljamo_state hanguljamo_check_state(const struct utf8_data *p_ud, const struct utf8_data *ud)
```

## Parameters

- `p_ud` (`const struct utf8_data *`)
- `ud` (`const struct utf8_data *`)

## Called by

- [`screen_write_combine`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_combine/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-write.c#L2707)

## Calls

- [`hanguljamo_get_class`](/en/tmux/latest/reference/c-function-utf8-combined-c-hanguljamo_get_class/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/utf8-combined.c#L291)

## Referenced declarations

- [`utf8_data.data`](/en/tmux/latest/reference/c-struct-utf8_data-data/) (attribute)
- [`HANGULJAMO_CLASS_CHOSEONG`](/en/tmux/latest/reference/c-enum-hanguljamo_class-hanguljamo_class_choseong/) (constant)
- [`HANGULJAMO_CLASS_JONGSEONG`](/en/tmux/latest/reference/c-enum-hanguljamo_class-hanguljamo_class_jongseong/) (constant)
- [`HANGULJAMO_CLASS_JUNGSEONG`](/en/tmux/latest/reference/c-enum-hanguljamo_class-hanguljamo_class_jungseong/) (constant)
- [`HANGULJAMO_CLASS_NOT_HANGULJAMO`](/en/tmux/latest/reference/c-enum-hanguljamo_class-hanguljamo_class_not_hanguljamo/) (constant)
- [`hanguljamo_state`](/en/tmux/latest/reference/c-enum-hanguljamo_state/) (enum)
- [`HANGULJAMO_STATE_CHOSEONG`](/en/tmux/latest/reference/c-enum-hanguljamo_state-hanguljamo_state_choseong/) (constant)
- [`HANGULJAMO_STATE_COMPOSABLE`](/en/tmux/latest/reference/c-enum-hanguljamo_state-hanguljamo_state_composable/) (constant)
- [`HANGULJAMO_STATE_NOT_COMPOSABLE`](/en/tmux/latest/reference/c-enum-hanguljamo_state-hanguljamo_state_not_composable/) (constant)
- [`HANGULJAMO_STATE_NOT_HANGULJAMO`](/en/tmux/latest/reference/c-enum-hanguljamo_state-hanguljamo_state_not_hanguljamo/) (constant)
- [`utf8_data.size`](/en/tmux/latest/reference/c-struct-utf8_data-size/) (attribute)
- [`utf8_data`](/en/tmux/latest/reference/c-struct-utf8_data/) (struct)
