From: Mark Salter <msalter@redhat.com>
To: "Moseley, Drew" <drew.moseley@intel.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Changing RedBoot's sys_read() function
Date: Fri, 22 Jul 2005 19:31:00 -0000 [thread overview]
Message-ID: <1122060691.8734.13.camel@gienah.localdomain> (raw)
In-Reply-To: <C863B68032DED14E8EBA9F71EB8FE4C207F62C3E@azsmsx406>
On Fri, 2005-07-22 at 10:08 -0700, Moseley, Drew wrote:
> I am considering making some changes to the sys_read() function in
> packages/redboot/current/src/syscall.c to better handle console I/O.
> (ie local echo, backspace handling, etc.)
>
> Is this function only called for console I/O? If not is there some way
> to
> determine if the fd being read is the console?
sys_read() assumes that it only gets called to read stdin in which case
fd is 0. As long as sys_open() always returns an error, that's a good
assumption.
--Mark
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
prev parent reply other threads:[~2005-07-22 19:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-22 17:08 Moseley, Drew
2005-07-22 19:31 ` Mark Salter [this message]
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=1122060691.8734.13.camel@gienah.localdomain \
--to=msalter@redhat.com \
--cc=drew.moseley@intel.com \
--cc=ecos-discuss@sources.redhat.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).