FreeBSD Bugzilla – Attachment 220579 Details for
Bug 251868
Add tcgetwinsize() and tcsetwinsize() to termios.h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
lib/libc/gen/termios.c.diff
termios.c.diff (text/plain), 467 bytes, created by
SOUMENDRA GANGULY
on 2020-12-15 14:24:11 UTC
(
hide
)
Description:
lib/libc/gen/termios.c.diff
Filename:
MIME Type:
Creator:
SOUMENDRA GANGULY
Created:
2020-12-15 14:24:11 UTC
Size:
467 bytes
patch
obsolete
>--- freebsd/lib/libc/gen/termios.c 2020-12-15 07:40:10.442863441 -0600 >+++ ./termios.c 2020-12-15 07:04:06.227911814 -0600 >@@ -51,7 +51,6 @@ > int > tcgetattr(int fd, struct termios *t) > { >- > return (_ioctl(fd, TIOCGETA, t)); > } > >@@ -275,3 +274,15 @@ > } > /* NOTREACHED */ > } >+ >+int >+tcgetwinsize(int fd, struct winsize *w) >+{ >+ return (_ioctl(fd, TIOCGWINSZ, w)); >+} >+ >+int >+tcsetwinsize(int fd, const struct winsize *w) >+{ >+ return (_ioctl(fd, TIOCSWINSZ, w)); >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251868
: 220579 |
220580
|
220581
|
220607
|
220616
|
220654