This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem in using cyg_hal_sys_read


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]