From: Andre Noll Date: Tue, 1 Apr 2008 20:17:11 +0000 (+0200) Subject: Update documentation for stdin.c and stdout.c. X-Git-Tag: v0.3.2~29 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=0810e4932d4d8fb477d4af5596d4b263d2538ff6;p=paraslash.git Update documentation for stdin.c and stdout.c. It contained some outdated comments. --- diff --git a/stdin.c b/stdin.c index b9b2e8bf..5b6bf520 100644 --- a/stdin.c +++ b/stdin.c @@ -75,9 +75,8 @@ static void stdin_post_select(struct sched *s, struct task *t) * \param sit The stdin task structure. * * This fills in the pre/post select function pointers of the task structure - * given by \a sit. It also sets up a default error handler which unregisters - * the task. Moreover, \a loaded and \a eof are set to zero and \a bufsize is - * initialized to 16 KB (but no buffer is allocated). + * given by \a sit. Moreover, the stdin file desctiptor is set to nonblocking + * mode and \a bufsize is initialized to 16 KB (but no buffer is allocated). */ void stdin_set_defaults(struct stdin_task *sit) { diff --git a/stdout.c b/stdout.c index 137030ef..ebc1cb98 100644 --- a/stdout.c +++ b/stdout.c @@ -84,8 +84,7 @@ static void stdout_post_select(struct sched *s, struct task *t) * \param sot The stdout task structure. * * This fills in the pre/post select function poinzters of the task structure - * given by \a sot. It also sets up a default error handler which unregisters - * the task on errors and clears the eof flag of \a sot. + * given by \a sot. */ void stdout_set_defaults(struct stdout_task *sot) {