projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix wide printf forms ignoring width for %lc format specifier
[musl]
/
include
/
termios.h
diff --git
a/include/termios.h
b/include/termios.h
index
4c46562
..
cbb5330
100644
(file)
--- a/
include/termios.h
+++ b/
include/termios.h
@@
-5,7
+5,10
@@
extern "C" {
#endif
extern "C" {
#endif
+#include <features.h>
+
#define __NEED_pid_t
#define __NEED_pid_t
+#define __NEED_struct_winsize
#include <bits/alltypes.h>
#include <bits/alltypes.h>
@@
-25,6
+28,9
@@
int cfsetispeed (struct termios *, speed_t);
int tcgetattr (int, struct termios *);
int tcsetattr (int, int, const struct termios *);
int tcgetattr (int, struct termios *);
int tcsetattr (int, int, const struct termios *);
+int tcgetwinsize (int, struct winsize *);
+int tcsetwinsize (int, const struct winsize *);
+
int tcsendbreak (int, int);
int tcdrain (int);
int tcflush (int, int);
int tcsendbreak (int, int);
int tcdrain (int);
int tcflush (int, int);
@@
-32,6
+38,11
@@
int tcflow (int, int);
pid_t tcgetsid (int);
pid_t tcgetsid (int);
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+void cfmakeraw(struct termios *);
+int cfsetspeed(struct termios *, speed_t);
+#endif
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif