summaryrefslogtreecommitdiffstats
path: root/etc/latrace.d/headers/termios.h
diff options
context:
space:
mode:
authorjolsa@redhat.com <jolsa@redhat.com>2010-12-21 23:33:22 +0100
committerJiri Olsa <Jiri Olsa jolsa@redhat.com>2011-04-05 17:35:53 +0200
commit79381b3ed5b490054cb211d0374f4338ef9d5931 (patch)
tree889c5c87d1fe6b9e6807d865bbf4f4b6581b1fb5 /etc/latrace.d/headers/termios.h
parentdc115d08736cf6a794316f359dd8bd9b0a6a778a (diff)
downloadlatrace-79381b3ed5b490054cb211d0374f4338ef9d5931.tar.gz
latrace-79381b3ed5b490054cb211d0374f4338ef9d5931.tar.xz
latrace-79381b3ed5b490054cb211d0374f4338ef9d5931.zip
moving conf header files to new location + rename s/conf/h/
Diffstat (limited to 'etc/latrace.d/headers/termios.h')
-rw-r--r--etc/latrace.d/headers/termios.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/etc/latrace.d/headers/termios.h b/etc/latrace.d/headers/termios.h
new file mode 100644
index 0000000..46fcd85
--- /dev/null
+++ b/etc/latrace.d/headers/termios.h
@@ -0,0 +1,28 @@
+
+/* /usr/include/termios.h */
+
+typedef u_char cc_t;
+typedef u_int speed_t;
+typedef u_int tcflag_t;
+typedef void termios;
+
+
+speed_t cfgetospeed(termios *termios_p);
+speed_t cfgetispeed(termios *termios_p);
+
+
+int cfsetospeed(termios *termios_p, speed_t speed);
+int cfsetispeed(termios *termios_p, speed_t speed);
+int cfsetspeed(termios *termios_p, speed_t speed);
+
+
+int tcgetattr(int fd, termios *termios_p);
+int tcsetattr(int fd, int optional_actions, termios *termios_p);
+
+
+void cfmakeraw(termios *termios_p);
+int tcsendbreak(int fd, int duration);
+int tcdrain(int fd);
+int tcflush(int fd, int queue_selector);
+int tcflow(int fd, int action);
+__pid_t tcgetsid(int fd);