int fake_event_occurred;
int
-read_event_from_tty_or_stream_desc (struct Lisp_Event *event,
+read_event_from_tty_or_stream_desc (Lisp_Event *event,
struct console *con, int fd)
{
unsigned char ch;
}
static int
-get_process_infd (struct Lisp_Process *p)
+get_process_infd (Lisp_Process *p)
{
Lisp_Object instr, outstr;
get_process_streams (p, &instr, &outstr);
}
int
-event_stream_unixoid_select_process (struct Lisp_Process *proc)
+event_stream_unixoid_select_process (Lisp_Process *proc)
{
int infd = get_process_infd (proc);
}
int
-event_stream_unixoid_unselect_process (struct Lisp_Process *proc)
+event_stream_unixoid_unselect_process (Lisp_Process *proc)
{
int infd = get_process_infd (proc);
{
/* Something went seriously wrong; don't abort since maybe
the TTY just died at the wrong time. */
- fprintf (stderr, "xemacs: select failed: errno = %d\n", errno);
+ stderr_out ("xemacs: select failed: errno = %d\n", errno);
return 0;
}
/* else, we got interrupted by a signal, so try again. */