[ECOS] problem in using cyg_hal_sys_read

Jonathan Larmour jlarmour@redhat.com
Fri Feb 9 09:42:00 GMT 2001


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



More information about the Ecos-discuss mailing list