blob: 708bc3f8d1bbffa111edb3f0fc17cb605866bc1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include <errno.h> // only for ENOSYS
#define TIOCGWINSZ 0
struct winsize {
int ws_row, ws_col;
};
static inline int ioctl(int fd, int req, ...) {
(void)fd; (void)req;
errno = ENOSYS;
return -1;
}
|