.TH TICKIT_TERM_OPEN_STDIO 3 .SH NAME tickit_term_open_stdio \- create a terminal instance on standard input/output .SH SYNOPSIS .EX .B #include .sp .BI "TickitTerm *tickit_term_open_stdio(void);" .EE .sp Link with \fI\-ltickit\fP. .SH DESCRIPTION \fBtickit_term_open_stdio\fP() creates a new \fBTickitTerm\fP 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 \fBtickit_term_build\fP(3) with the \fIopen\fP field set to \fBTICKIT_OPEN_STDIO\fP, and enabling \fBSIGWINCH\fP support using \fBtickit_term_observe_sigwinch\fP(3). .SH "RETURN VALUE" If successful, \fBtickit_term_open_stdio\fP() returns a pointer to the new instance. On failure, \fBNULL\fP is returned with \fIerrno\fP set to indicate the failure. .SH "SEE ALSO" .BR tickit_term_build (3), .BR tickit_term_print (3), .BR tickit_term_bind_event (3), .BR tickit_term (7), .BR tickit (7)