FreeBSD Bugzilla – Attachment 220580 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]
/include/termios.h.diff
termios.h.diff (text/plain), 647 bytes, created by
SOUMENDRA GANGULY
on 2020-12-15 14:25:51 UTC
(
hide
)
Description:
/include/termios.h.diff
Filename:
MIME Type:
Creator:
SOUMENDRA GANGULY
Created:
2020-12-15 14:25:51 UTC
Size:
647 bytes
patch
obsolete
>--- freebsd/include/termios.h 2020-12-15 07:40:10.390863219 -0600 >+++ ./termios.h 2020-12-15 07:34:18.705441593 -0600 >@@ -32,6 +32,11 @@ > * $FreeBSD$ > */ > >+#if __BSD_VISIBLE >+#include <sys/ttycom.h> >+#include <sys/ttydefaults.h> >+#endif >+ > #ifndef _TERMIOS_H_ > #define _TERMIOS_H_ > >@@ -92,12 +97,10 @@ > void cfmakeraw(struct termios *); > void cfmakesane(struct termios *); > int cfsetspeed(struct termios *, speed_t); >+ >+int tcgetwinsize(int, struct winsize *); >+int tcsetwinsize(int, const struct winsize *); > #endif > __END_DECLS > > #endif /* !_TERMIOS_H_ */ >- >-#if __BSD_VISIBLE >-#include <sys/ttycom.h> >-#include <sys/ttydefaults.h> >-#endif
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