new six version M.Z.

This commit is contained in:
cvs
2003-10-24 15:02:29 +00:00
parent 501d336adb
commit 9aa438f2b8
6 changed files with 501 additions and 88 deletions

View File

@@ -4,11 +4,17 @@
#include <sys/time.h>
int sys_select_or_key(fd_set *mask, int msecTmo, char *key);
/* wait for read event on sockets included in mask or from keyboard or a timeout
/*
wait for read event on sockets included in mask or from keyboard or a timeout
result is negative for timeout,
STDIN_FILENO for a key pressed,
else socket number
switches the terminal to no-echo no-canonical
*/
void sys_keys_off(void);
/*
switch back terminal to normal state
*/
#endif /* SYS_SELECT_H_ */