- init_supported_writers();
- init_sched();
-
- sit.bufsize = 16 * 1024,
- sit.buf = para_malloc(16 * 1024),
- sit.loaded = 0,
- sit.task.pre_select = stdin_pre_select;
- sit.task.post_select = stdin_post_select;
- sit.task.event_handler = stdin_event_handler;
- sit.task.private_data = &sit;
- sprintf(sit.task.status, "stdin reader");
+ stdin_set_defaults(&sit);
+ if (conf.bufsize_given)
+ sit.bufsize = conf.bufsize_arg;
+ sit.buf = para_malloc(sit.bufsize),