From: j.neuschaefer@gmx.net (Jonathan Neuschäfer)
To: kernelnewbies@lists.kernelnewbies.org
Subject: stdout to console
Date: Wed, 25 Apr 2012 20:59:10 +0200 [thread overview]
Message-ID: <20120425185910.GA2255@debian.debian> (raw)
In-Reply-To: <CALyraePS37rydYs9xnytVEahaMUQ79e38jyuK85Mho86B-1ECQ@mail.gmail.com>
On Wed, Apr 25, 2012 at 02:09:24PM -0400, Sri Ram Vemulpali wrote:
> > We all know that when an application writes to stdout, data ends up in
> > the console.
> Because for that process index 1 maps to /dev/stdout
Or rather, /dev/stdout maps to fd 1.
$ ls -l /dev/stdout
lrwxrwxrwx 1 root root 15 Apr 25 18:18 /dev/stdout -> /proc/self/fd/1
Thanks,
Jonathan Neusch?fer
next prev parent reply other threads:[~2012-04-25 18:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CABOM9Zq_8+c+RV_kunwbvgFp0454-s4eAd_HQTCRQpR9ZbmZyg@mail.gmail.com>
2012-04-23 10:15 ` stdout to console Arun KS
2012-04-23 12:09 ` Jonathan Neuschäfer
2012-04-25 18:09 ` Sri Ram Vemulpali
2012-04-25 18:59 ` Jonathan Neuschäfer [this message]
2012-04-26 3:56 ` Arun KS
2012-04-27 5:46 ` Sri Ram Vemulpali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120425185910.GA2255@debian.debian \
--to=j.neuschaefer@gmx.net \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.