All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Koller <clemens.koller@anagramm.de>
To: David Newall <david@davidnewall.com>
Cc: Siva Prasad <sprasad@bivio.net>, linux-kernel@vger.kernel.org
Subject: Re: printf internals
Date: Fri, 14 Dec 2007 17:15:49 +0100	[thread overview]
Message-ID: <4762AC35.3010706@anagramm.de> (raw)
In-Reply-To: <4761E289.9070007@davidnewall.com>

David Newall schrieb:
 > Siva Prasad wrote:
 >> I am looking at how exactly does the printf in user programs succeeds in
 >> displaying characters to the serial console.
 >
 > Is it a student assignment?  This is so not the right mailing list.

Come on, are we playing hide and seek here?

You can use strace to follow a typical hello world example and
see what device it opens to feed the hello out.
I.e. it can be to the current /dev/ttyX and not to /dev/console
or if you are logged in via SSH to a machine, the device
is again different... or if you use screen, ...

Work your way from there and then use a Linux Source code
Cross Reference (lxr, ask Google for one) and follow the code.

Regards,
-- 
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com


  reply	other threads:[~2007-12-14 16:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-14  0:07 printf internals Siva Prasad
2007-12-14  1:55 ` David Newall
2007-12-14 16:15   ` Clemens Koller [this message]
2007-12-19 22:33     ` Siva Prasad
2007-12-19 23:31       ` Scott Russell
2007-12-19 23:31         ` Siva Prasad
2007-12-20  0:04           ` Masoud Sharbiani "مسعود شربیانی"
2007-12-22  3:42       ` Richard D

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=4762AC35.3010706@anagramm.de \
    --to=clemens.koller@anagramm.de \
    --cc=david@davidnewall.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sprasad@bivio.net \
    /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.