public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: Mark Salter <msalter@redhat.com>
Cc: nhko@gctsemi.com, ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] question about "sys_write() " call.
Date: Tue, 24 Jul 2001 08:05:00 -0000	[thread overview]
Message-ID: <3B5D8EAE.F6548FAA@redhat.com> (raw)
In-Reply-To: <200107241459.f6OExZ524391@deneb.localdomain>

Mark Salter wrote:
> 
> >>>>> Jonathan Larmour writes:
> 
> > Tony Ko wrote:
> >>
> >> hi.
> >> what's for "sys_write" call ( on sys_generic.c ).
> >> does it have something with system call?
> >> then when is this called?
> 
> > It's called by GNU applications linked with newlib, not eCos.
> 
> That would be the sys_write in redboot. The sys_write in
> sys_generic.c is something else.

Ah, oops, yes. There are two sys_writes around. The other one is in the BS
net stack and is only used when not using the fileio package. In that case
it is the underlying implementation of write(). It's only called
"sys_write" because it came from the BSD kernel.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

      reply	other threads:[~2001-07-24  8:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-23 20:39 Tony Ko
2001-07-23 20:51 ` [ECOS] question about thread return Yong
2001-07-24  7:34   ` Jonathan Larmour
2001-07-24  7:33 ` [ECOS] question about "sys_write() " call Jonathan Larmour
2001-07-24  7:59   ` Mark Salter
2001-07-24  8:05     ` Jonathan Larmour [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=3B5D8EAE.F6548FAA@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=msalter@redhat.com \
    --cc=nhko@gctsemi.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).