This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: fcntl error
- From: Andrew Lunn <andrew at lunn dot ch>
- To: aditya veer singh <adityav at cdotd dot ernet dot in>
- Cc: ecos-discuss at sourceware dot org
- Date: Fri, 12 May 2006 14:06:10 +0200
- Subject: Re: [ECOS] fcntl error
- References: <20060512112600.M51510@cdotd.ernet.in>
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