From 0810e4932d4d8fb477d4af5596d4b263d2538ff6 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 1 Apr 2008 22:17:11 +0200 Subject: [PATCH] Update documentation for stdin.c and stdout.c. It contained some outdated comments. --- stdin.c | 5 ++--- stdout.c | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) 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) { -- 2.39.2