cc -pthread -Wall -Wextra -Werror=implicit-function-declaration termios/tcsetwinsize.c -o termios/tcsetwinsize -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv relibc getrlimit(3, 0x7ffffffffc80): not implemented relibc getrlimit(3, 0x7ffffffffba0): not implemented relibc getrlimit(9, 0x7ffffffffb60): not implemented relibc getrlimit(9, 0x7ffffffffb90): not implemented relibc getrlimit(5, 0x7ffffffffb90): not implemented relibc getrlimit(9, 0x7ffffffffb60): not implemented termios/tcsetwinsize.c: In function 'main': termios/tcsetwinsize.c:41:40: error: incompatible type for argument 2 of 'tcsetwinsize' 41 | if ( tcsetwinsize(pty, &ws) < 0 ) | ^~~ | | | struct winsize * In file included from termios/tcsetwinsize.c:8: /usr/include/termios.h:907:41: note: expected 'struct winsize' but argument is of type 'struct winsize *' 907 | int tcsetwinsize(int fd, struct winsize sws); | ~~~~~~~~~~~~~~~^~~