Lines 51-57
Link Here
|
51 |
int |
51 |
int |
52 |
tcgetattr(int fd, struct termios *t) |
52 |
tcgetattr(int fd, struct termios *t) |
53 |
{ |
53 |
{ |
54 |
|
|
|
55 |
return (_ioctl(fd, TIOCGETA, t)); |
54 |
return (_ioctl(fd, TIOCGETA, t)); |
56 |
} |
55 |
} |
57 |
|
56 |
|
Lines 275-277
Link Here
|
275 |
} |
274 |
} |
276 |
/* NOTREACHED */ |
275 |
/* NOTREACHED */ |
277 |
} |
276 |
} |
|
|
277 |
|
278 |
int |
279 |
tcgetwinsize(int fd, struct winsize *w) |
280 |
{ |
281 |
return (_ioctl(fd, TIOCGWINSZ, w)); |
282 |
} |
283 |
|
284 |
int |
285 |
tcsetwinsize(int fd, const struct winsize *w) |
286 |
{ |
287 |
return (_ioctl(fd, TIOCSWINSZ, w)); |
288 |
} |