added a nice java-free sics commandline client M.Z.

This commit is contained in:
cvs
2003-03-12 13:48:24 +00:00
parent 9f03f7cdd7
commit 9a5bd901d8
5 changed files with 571 additions and 0 deletions

14
tecs/sys_select.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef SYS_SELECT_H_
#define SYS_SELECT_H_
#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
result is negative for timeout,
STDIN_FILENO for a key pressed,
else socket number
*/
#endif /* SYS_SELECT_H_ */