This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Re: fcntl error


On Fri, May 12, 2006 at 05:56:38PM +0630, aditya veer singh wrote:
> 
> 
> When I try to set a file descriptor as non blocking using system call:
> fcntl(fd, F_SETFL, O_NONBLOCK) it returns an error during call of FILEIO_RETURN.
> fd provided for the function is a valid one.
> 
> Can someone provide me with few pointers as what can be possibly wrong with the above call?

The quickest way to understand this is simply single step the function
call and find out where the error occurs. 

Use the source since you have it.

    Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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