File:Stdstreams-notitle.svg

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Stdstreams-notitle.svg(SVG file, nominally 535 × 328 pixels, file size: 58 KB)

[edit] Summary

I made this simple diagram of Unix and C standard streams (stdio) using Graphviz. Depicted: a text terminal, the running program, the streams standard input stdin, standard output stdout, standard error stderr. Commandline was

<stdstreams.dot dot -Tsvg >stdstreams.svg

Because of a Commons bug I needed to edit the svg file in text editor to remove title tags before the upload succeeded.

[edit] Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

[edit] Graphviz source

file stdstreams.dot:

digraph StandardStreams {
        rankdir=LR
        style=filled
        color=white
        subgraph clusterTerminal {
                label="Text terminal"
                style=filled;
                color=lightgrey;
                node [style=filled,fillcolor=white,shape=box,bold];
                Keyboard
                Display
        }

        Keyboard -> Program [label="#0 stdin"]
        Program -> Display [label="#1 stdout"]
        Program -> Display [label="#2 stderr",constraint=none]
}

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:27, 17 January 2009Thumbnail for version as of 22:27, 17 January 2009535 × 328 (58 KB)TyIzaeL{{Information |Description=Improved version of previous image. To better match another streams diagram I reworked. |Source= |Date= |Author= |Permission= |other_versions= }}
02:13, 7 April 2006Thumbnail for version as of 02:13, 7 April 2006338 × 231 (2 KB)TuukkaHI made this simple diagram of Unix and C standard streams (stdio) using Graphviz. Depicted: a text terminal, the running program, the streams standard input stdin, standard output stdout, standard error stderr. Commandline was <stdstreams.dot dot -Tsvg
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata

Personal tools
Namespaces

Variants
Views
Actions
Navigation
Interaction
Toolbox