aboutsummaryrefslogtreecommitdiff
path: root/src/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serial.h')
-rw-r--r--src/serial.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/serial.h b/src/serial.h
index 1e3157d..77fafcb 100644
--- a/src/serial.h
+++ b/src/serial.h
@@ -4,7 +4,12 @@
#include <termios.h>
#include <unistd.h>
-
+/*
+ * set baud rate of fd to speed
+ */
int set_interface_attribs (int fd, int speed, int parity);
+/*
+ * sets blocking, duh
+ */
void set_blocking (int fd, int should_block);