KeyCode *keycodes= firstjob->keycodes;
int numfds, stdin_fd=0, xlib_fd, ret, events;
fd_set rfds;
- boolean watching_stdin_p = FALSE;
+ bool watching_stdin_p = false;
#ifdef HAVE_SYS_INOTIFY_H
int wd=0;
int inotify_fd=0;
}
}
else {
- watching_stdin_p = TRUE;
+ watching_stdin_p = true;
stdin_fd = fcntl(STDIN_FILENO, F_DUPFD, 0);
numfds = MAX(stdin_fd, numfds);
}
if (FD_ISSET(stdin_fd, &rfds)) {
ret = handle_stdin_events(firstjob, stdin_fd);
if (ret < 0) {
- watching_stdin_p = FALSE;
+ watching_stdin_p = false;
FD_CLR(stdin_fd, &rfds);
}
events += ret;