| Index: native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h b/native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h
|
| index c4e0d1c84b3aa005f317f82871ba60a54d154e34..aa3774c69804aadfa604871e750abde26bce099b 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/include/sys/ioctl.h
|
| @@ -7,6 +7,16 @@
|
|
|
| #include <sys/cdefs.h>
|
|
|
| +#define TIOCGWINSZ 0x5413
|
| +#define TIOCSWINSZ 0x5414
|
| +
|
| +struct winsize {
|
| + unsigned short ws_row;
|
| + unsigned short ws_col;
|
| + unsigned short ws_xpixel;
|
| + unsigned short ws_ypixel;
|
| +};
|
| +
|
| __BEGIN_DECLS
|
|
|
| int ioctl(int fd, unsigned long request, ...);
|
|
|