tickit_term_open_stdio(3)

tickit_term_open_stdio3

Create a terminal instance on standard input/output

Usage

#include <tickit.h>

TickitTerm *tickit_term_open_stdio(void);

Link with -ltickit.

Overview

tickit_term_open_stdio() creates a new TickitTerm instance to represent the standard input and output streams of the process. This function is a convenient shortcut around the common use-case of creating an instance using tickit_term_build(3) with the open field set to TICKIT_OPEN_STDIO, and enabling SIGWINCH support using tickit_term_observe_sigwinch(3).

Return value

If successful, tickit_term_open_stdio() returns a pointer to the new instance. On failure, NULL is returned with errno set to indicate the failure.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.