blob: 26b3e4ec0380e0df2f73bf3c7822d95aff17882e (
plain)
1
2
3
4
5
6
7
8
9
|
#ifndef GET_WINDOW_SIZE_H
#define GET_WINDOW_SIZE_H
struct winsize {
unsigned short ws_row, ws_col;
unsigned short ws_xpixel, ws_ypixel;
};
int get_window_size(int fd, struct winsize *ws);
#endif
|