diff options
Diffstat (limited to 'arch/um/os-Linux/file.c')
-rw-r--r-- | arch/um/os-Linux/file.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/um/os-Linux/file.c b/arch/um/os-Linux/file.c index c3ecc2a84e0c..f52006ee70e8 100644 --- a/arch/um/os-Linux/file.c +++ b/arch/um/os-Linux/file.c | |||
@@ -101,19 +101,6 @@ int os_ioctl_generic(int fd, unsigned int cmd, unsigned long arg) | |||
101 | return err; | 101 | return err; |
102 | } | 102 | } |
103 | 103 | ||
104 | int os_window_size(int fd, int *rows, int *cols) | ||
105 | { | ||
106 | struct winsize size; | ||
107 | |||
108 | if(ioctl(fd, TIOCGWINSZ, &size) < 0) | ||
109 | return -errno; | ||
110 | |||
111 | *rows = size.ws_row; | ||
112 | *cols = size.ws_col; | ||
113 | |||
114 | return 0; | ||
115 | } | ||
116 | |||
117 | int os_new_tty_pgrp(int fd, int pid) | 104 | int os_new_tty_pgrp(int fd, int pid) |
118 | { | 105 | { |
119 | if(ioctl(fd, TIOCSCTTY, 0) < 0) | 106 | if(ioctl(fd, TIOCSCTTY, 0) < 0) |