unibi_from_mem man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

doc::unibi_from_mem(3)		   unibilium		doc::unibi_from_mem(3)

NAME
       unibi_from_mem - construct a terminal object from a compiled terminfo
       entry

SYNOPSIS
	#include <unibilium.h>

	unibi_term *unibi_from_mem(const char *p, size_t n);

DESCRIPTION
       This function parses a compiled terminfo entry that starts at p and is
       n bytes long and constructs a "unibi_term" object from it. When you're
       done with it, you should call "unibi_destroy" to free it.

RETURN VALUE
       A pointer to a new "unibi_term". In case of failure, "NULL" is returned
       and "errno" is set.

ERRORS
       "EINVAL"
	   The passed bytes don't look like a valid terminfo entry.

       "EFAULT"
	   n is too small for a valid terminfo entry.

SEE ALSO
       unibilium.h(3), unibi_dump(3), unibi_destroy(3), unibi_from_fp(3),
       unibi_from_fd(3), unibi_from_file(3), unibi_from_term(3),
       unibi_from_env(3)

unibilium-1.1.2			  2015-02-22		doc::unibi_from_mem(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net