HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //home/ubuntu/neovim/.deps/build/src/unibilium/doc/unibi_get_aliases.pod
=pod

=head1 NAME

unibi_get_aliases, unibi_set_aliases - access the aliases of a terminal object

=head1 SYNOPSIS

 #include <unibilium.h>
 
 const char **unibi_get_aliases(const unibi_term *ut);
 void unibi_set_aliases(unibi_term *ut, const char **v);

=head1 DESCRIPTION

C<unibi_get_aliases> returns the list of aliases from I<ut>;
C<unibi_set_aliases> sets it to I<v>. The format of this list is like C<argv>:
a null-terminated vector of strings.

The contents of this list come from the ('|'-separated) name section in
terminfo entries. It's supposed to be a list of lowercase words or
abbreviations that refer to this terminal, the first one being the most
common name. The last part of the name section can be more verbose and is not
stored in the aliases list; it can be accessed with C<unibi_get_name>.

Note that C<unibi_set_aliases> simply stores the pointer it is given; it will not
free I<v> or make a copy of it (or any of the strings it points to).

=head1 RETURN VALUE

C<unibi_get_aliases> returns a pointer to a null-terminated vector of strings.

=head1 SEE ALSO

L<unibilium.h(3)>,
L<unibi_get_name(3)>,
L<unibi_set_name(3)>

=cut