Image:Stdstreams-notitle.svg

From Wikipedia, the free encyclopedia

Stdstreams-notitle.svg (2KB, MIME type: image/svg+xml)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.

[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 author of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.


Afrikaans | Alemannisch | Aragonés | العربية | Български | Català | Česky | Cymraeg | Dansk | Deutsch | Ελληνικά | English | Español | Esperanto | فارسی | Français | Galego | 한국어 | हिन्दी | Hrvatski | Ido | Bahasa Indonesia | Íslenska | Italiano | עברית | Latina | Lietuvių | Magyar | Bahasa Melayu | Nederlands | Norsk (bokmål) | Norsk (nynorsk) | 日本語 | Polski | Português | Ripoarish | Română | Русский | Slovenčina | Slovenščina | Српски | Svenska | ไทย | Türkçe | Українська | Tiếng Việt | Walon | 简体中文 | 繁體中文 | 粵語 | +/-


[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]
}

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):