chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / tty.c
1 /*
2  * tty.c:
3  *
4  * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
5  * All rights reserved.
6  *
7  */
8
9 static char rcsid[] = "$Id$";
10
11 /*
12  * $Log$
13  * Revision 1.5  2008/02/13 16:57:29  james
14  * *** empty log message ***
15  *
16  * Revision 1.4  2008/02/12 22:36:46  james
17  * *** empty log message ***
18  *
19  * Revision 1.3  2008/02/09 15:47:28  james
20  * *** empty log message ***
21  *
22  */
23
24
25
26
27 void
28 tty_pre_select (TTY * t, fd_set * rfds, fd_set * wfds)
29 {
30   FD_SET (t->rfd, &rfds);
31 }
32
33 #if 0
34 int
35 tty_post_select (Context * c, fd_set * rfds, fd_set * wfds)
36 {
37
38   if (FD_ISSET (c->t->rfd, rfds))
39     {
40       if (vt102_dispatch (&c))
41         return -1;
42     }
43   return 0;
44 }
45
46 #endif