PSI sics-cvs-psi_pre-ansto

This commit is contained in:
2003-06-13 00:00:00 +00:00
committed by Douglas Clowes
parent 2e3ddfb6c6
commit 3ffd0d8af4
1099 changed files with 318432 additions and 0 deletions

19
tecs/term.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef TERM_H_
#define TERM_H_
void term_reg_socket(int fd);
/* register socket */
void term_unr_socket(int fd);
/* unregister socket */
int term_raw_key(char *key, int msecTmo);
int term_wait_fd(int fd, int msecTmo);
/* wait for a read event on fd or timeout */
int term_get_key(char *key, int msecTmo);
int term_get_line(char *buf, int size, int *pos, char *prompt, fd_set *mask);
#endif /* TERM_H_ */