check_wav: return error on premature end of file.
[paraslash.git] / stdin.h
1 struct stdin_task {
2 char *buf;
3 size_t bufsize;
4 size_t loaded;
5 struct task task;
6 int eof;
7 };
8
9 void stdin_pre_select(struct sched *s, struct task *t);
10 void stdin_post_select(struct sched *s, struct task *t);