2 * Copyright (C) 2006 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file stdin.h the stdin task structure and exported symbols from stdin.c */
10 * the task structure used for reading from stdin
15 /** the size of \a buf */
17 /** number of bytes currently loaded in \a buf */
19 /** whether \p STDIN_FILENO was included in the read fd set */
21 /** the task structure */
23 /** non-zero on read error, or if a read from stdin returned zero */
27 void stdin_pre_select(struct sched *s, struct task *t);
28 void stdin_post_select(struct sched *s, struct task *t);
29 void stdin_set_defaults(struct stdin_task *sit);