Hi,

I have used cygwin to build the GCC ARM tools and libraries. I am using the cygwin1.dll for running my application on windows.

But file write in my application program has problem. The code is

{
                FILE *fp;
                fp = fopen("c:\\hi.yuv", "wb");
                fwrite(OutputArray, 0x14E200, 1, fp);
                fclose(fp);
}

All Line Feeds(0x0A) are replaced by CRLF( 0x0D 0x0A) when written to a file though I am opening the file in binary mode. Is there a method to write the data in the buffer "Outputarray" as it is. Kindly help

Regards
Ralf

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to