2 * Copyright (C) 2006 Andre Noll <maan@tuebingen.mpg.de>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file stdin.h The standard in task structure. */
9 /** The task structure used for reading from stdin. */
11 /** The task structure. */
13 /** Stdin is always the root of a buffer tree. */
14 struct btr_node *btrn;
15 /** Use a buffer pool to minimize memcpy due to alignment problems. */
16 struct btr_pool *btrp;
17 /** The descriptor flags of STDIN at startup. */
19 /** Whether we have to set STDIN to nonblocking mode. */
20 bool must_set_nonblock_flag;
23 void stdin_task_register(struct stdin_task *sit, struct sched *s);