unibi_dump man page

unibi_dump — convert a terminal object to compiled terminfo data


#include <unibilium.h>

size_t unibi_dump(const unibi_term *ut, char *p, size_t n);


This function creates a compiled terminfo entry from ut. The output is written to p, which must have room for at least n bytes.

Return Value

"unibi_dump" returns the number of bytes required to store the terminfo data. If this exceeds n, nothing is written to p. If the terminal object can't be represented in terminfo format (e.g. because the string table would be too large), the return value is "SIZE_MAX".


ut can't be converted to terminfo format.
The resulting terminfo entry would be longer than n bytes.

See Also

unibilium.h(3), unibi_destroy(3), unibi_from_mem(3)

Referenced By

unibi_dummy(3), unibi_from_mem(3), unibilium.h(3).

Explore man page connections for unibi_dump(3).

unibilium 1.2.0 2015-08-14