Пример #1
0
void resizing_signal(int signal_n)
{
	(void)signal_n;
	ioctl(STDOUT_FILENO, TIOCGWINSZ, &(g_env()->win_size));
	print_env(g_env());
}
Пример #2
0
int		ft_iputchar(int c)
{
	write(g_env(NULL)->fd_tty, &c, 1);
	return (1);
}