lkml.org 
[lkml]   [1998]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Out of ptys
Date
> This shows the problem I reported to the glibc folks about a year
> go. Note that both functions, good() and bad(), are identical except
> for the fds that I close.

Thats correct behaviour. If you look at my example you will notice I
purposefully called fflush() and checked its return value too. stdio may
report write errors on the fflush for buffered streams, thats quite allowed.

stderr is unbuffered, stdio is buffered.

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.171 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site