doc::unibi\_set\_name(3) unibilium doc::unibi\_set\_name(3)

# [NAME](#NAME)

unibi\_get\_name, unibi\_set\_name - access the name of a terminal object

# [SYNOPSIS](#SYNOPSIS)

```
 #include <unibilium.h>
 
 const char *unibi_get_name(const unibi_term *ut);
 void unibi_set_name(unibi_term *ut, const char *s);
```

# [DESCRIPTION](#DESCRIPTION)

"unibi\_get\_name" gets the name from *ut*; "unibi\_set\_name" sets the name to *s*.

Note that "unibi\_set\_name" simply stores the pointer it is given; it will not free *s* or make a copy of the string.

# [RETURN VALUE](#RETURN_VALUE)

"unibi\_get\_name" returns a pointer to the name of the terminal; this either comes from a terminfo entry (the part after the last '|' in the name section) or was set by "unibi\_set\_name".

# [SEE ALSO](#SEE_ALSO)

[**unibilium.h**(3)](/man/os/unibilium/unibilium.h.3), [**unibi\_get\_aliases**(3)](/man/os/unibilium/unibi_get_aliases.3), [**unibi\_set\_aliases**(3)](/man/os/unibilium/unibi_set_aliases.3)

2026-08-30 unibilium-2.1.4

---

Document: unibi_set_name(3) from unibilium 2.1.4-r0 (Chainguard OS)
Source: https://github.com/neovim/unibilium
