comparison src/device.h @ 223:2c611d1463a6 r20-4b10

Import from CVS: tag r20-4b10
author cvs
date Mon, 13 Aug 2007 10:10:54 +0200
parents cca96a509cfe
children 83b3d10dcba9
comparison
equal deleted inserted replaced
222:aae4c8b01452 223:2c611d1463a6
189 189
190 /* sound flags */ 190 /* sound flags */
191 unsigned int on_console_p :1; 191 unsigned int on_console_p :1;
192 unsigned int connected_to_nas_p :1; 192 unsigned int connected_to_nas_p :1;
193 193
194 #ifdef HAVE_UNIXOID_EVENT_LOOP 194
195 /* File descriptors for input and output. Much of the time 195 /* File descriptors for input and output. Much of the time
196 (but not always) these will be the same. For an X device, 196 (but not always) these will be the same. For an X device,
197 these both hold the file descriptor of the socket used 197 these both hold the file descriptor of the socket used
198 to communicate with the X server. For a TTY device, these 198 to communicate with the X server. For a TTY device, these
199 may or may not be the same and point to the terminal that 199 may or may not be the same and point to the terminal that
200 is used for I/O. */ 200 is used for I/O. */
201 int infd, outfd; 201 int infd, outfd;
202 202
203 /* infd and outfd are moved outside HAVE_UNIXOID_EVENT_LOOP conditionals,
204 because Win32, presumably the first port which does not use select()
205 polling, DOES have handles for a console device. -- kkm */
206
207 #ifdef HAVE_UNIXOID_EVENT_LOOP
203 /* holds some data necessary for SIGIO control. Perhaps this should 208 /* holds some data necessary for SIGIO control. Perhaps this should
204 be inside of device_data; but it is used for both TTY's and X 209 be inside of device_data; but it is used for both TTY's and X
205 device. Perhaps it should be conditionalized on SIGIO; but 210 device. Perhaps it should be conditionalized on SIGIO; but
206 this requires including syssignal.h and systty.h. */ 211 this requires including syssignal.h and systty.h. */
207 int old_sigio_flag; 212 int old_sigio_flag;