This commit is contained in:
2026-08-05 12:03:33 +03:00
parent 6ecb6b2422
commit 523e74babc
7 changed files with 398 additions and 406 deletions

View File

@@ -21,6 +21,8 @@
#include "usefull_macros.h"
#include <sys/ioctl.h>
/**
* function for different purposes that need to know time intervals
* @return double value: time in seconds
@@ -262,7 +264,7 @@ int mygetchar(){ // getchar() without need of pressing ENTER
/******************************************************************************\
* TTY with select()
\******************************************************************************/
static struct termio oldtty, tty; // TTY flags
static struct termios oldtty, tty; // TTY flags
static int comfd = -1; // TTY fd
// run on exit: