diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-06-27 23:08:01 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-06-27 23:08:01 +0200 |
commit | b4582f3209a4916ffaa54baa716ab27a87bb961a (patch) | |
tree | 86e8deebd6eef2c555975b4e799687644415777a /src/serial.h | |
parent | aafbd24502d6d9883ae96a57f64fa3b5ed7c2bcb (diff) | |
download | bbs-b4582f3209a4916ffaa54baa716ab27a87bb961a.tar.gz |
can accept incoming calls
Diffstat (limited to 'src/serial.h')
-rw-r--r-- | src/serial.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/serial.h b/src/serial.h new file mode 100644 index 0000000..1e3157d --- /dev/null +++ b/src/serial.h @@ -0,0 +1,10 @@ +#include <errno.h> +#include <fcntl.h> +#include <string.h> +#include <termios.h> +#include <unistd.h> + + +int set_interface_attribs (int fd, int speed, int parity); + +void set_blocking (int fd, int should_block); |