linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Rainer Kloud <rainer.kloud@siemens.at>
To: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: tty_ioctl
Date: Mon, 18 Dec 2000 16:29:22 +0100	[thread overview]
Message-ID: <3A3E2D52.BB40FB3F@siemens.at> (raw)


Hi,

I have a problem with the console output of my init process.

I'm useing a statically linked sash which tries to determine if
the used file descriptor is associated to a terminal device.
Therefore it uses isatty(STDIN). This library function invokes
the kernel routine tty_ioctl with the command TCGETS.
Now my problem is that this command is not defined in tty_ioctl
and so this routine returns an error.

I have seen, that this command is defined in n_tty_ioctl.
Whow is the relationship between this two ioctl commands?
How can I solve this problem?

Also I can not print any message from the init process (neither
the sash version nor the sash prompt). Any ideas?

Thank you in advance!

Rainer

PS: Im useing the kernel version 2.4.0-test10 with gcc 2.95.2 and
glibc 2.1.3 on a motorola scout board (MPC750/MPC8260).

--
Rainer Kloud               mailto:rainer.kloud@siemens.at
Siemens AG, PSE ECT OTN 2, Rampengasse 3-5, A-1190 Vienna
Phone: +43-(0)51707-43873         Fax: +43-(0)51707-53581

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

                 reply	other threads:[~2000-12-18 15:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3A3E2D52.BB40FB3F@siemens.at \
    --to=rainer.kloud@siemens.at \
    --cc=linuxppc-embedded@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).