* [ECOS] problem in using cyg_hal_sys_read
@ 2001-02-08 4:11 Dorairaj V
2001-02-09 9:42 ` Jonathan Larmour
0 siblings, 1 reply; 2+ messages in thread
From: Dorairaj V @ 2001-02-08 4:11 UTC (permalink / raw)
To: ecos-discuss
Hi ,
I'm using the ecos api cyg_hal_sys_read() to read from a named pipe in
a linux based synthetic target (ecos 1.3.1 on i386 linux RHL 6.2 ) . I
find that cyg_hal_sys_read fails and returns error number -4 .
Can some one let me know what does the error code mean ? Also where can
I get a comprehensive list of ecos error codes and their meanings .
Thanks in advance for any response
Regards
Dorairaj V
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] problem in using cyg_hal_sys_read
2001-02-08 4:11 [ECOS] problem in using cyg_hal_sys_read Dorairaj V
@ 2001-02-09 9:42 ` Jonathan Larmour
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-02-09 9:42 UTC (permalink / raw)
To: dorai; +Cc: ecos-discuss
Dorairaj V wrote:
>
> Hi ,
> I'm using the ecos api cyg_hal_sys_read() to read from a named pipe in
> a linux based synthetic target (ecos 1.3.1 on i386 linux RHL 6.2 ) . I
> find that cyg_hal_sys_read fails and returns error number -4 .
> Can some one let me know what does the error code mean ? Also where can
> I get a comprehensive list of ecos error codes and their meanings .
This isn't an eCos error code, it's a linux kernel error code, and
correlates with what is in /usr/include/asm/errno.h. So -4 would be EINTR,
which means you probably ctrl-C'd the app.
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-09 9:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-08 4:11 [ECOS] problem in using cyg_hal_sys_read Dorairaj V
2001-02-09 9:42 ` Jonathan Larmour
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).