Creating stream from stdout
Ali Çehreli
acehreli at yahoo.com
Sun Apr 24 18:40:09 PDT 2011
On 04/23/2011 10:37 PM, Jonathan M Davis wrote:
> stdin and stdio are _not_ streams.
How do you define "stream"? stdin and stdout are streams.
> They're instances of std.stdio, and they
> are _not_ going away. As far as I know, nothing in std.stdio is going
away.
That's correct.
I've been inconsistent: When I said that D's streams were going away, I
meant std.stream and std.cstream. Regardless, nothing can change the
fact that just like C's stdin and stdout, D's stdin and stdout are streams.
$ man stdin | head
STDIN(3) Linux Programmer's Manual
STDIN(3)
NAME
stdin, stdout, stderr - standard I/O streams
SYNOPSIS
#include <stdio.h>
Ali
More information about the Digitalmars-d-learn
mailing list