delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | ericblake AT comcast DOT net (Eric Blake) |
To: | DSP Tech <dsptech AT hotmail DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: Binary file write has CRLF inserted |
Date: | Fri, 11 Nov 2005 14:45:06 +0000 |
Message-Id: | <111120051445.21693.4374AE72000D3C82000054BD22069997350A050E040D0C079D0A@comcast.net> |
> I have used cygwin to build the GCC ARM tools and libraries. I am using the > cygwin1.dll for running my application on windows. > > fp = fopen("c:\\hi.yuv", "wb"); There's your problem. Use POSIX names if you want POSIX behavior. Try fopen("/cygdrive/c/hi.yuv") instead. -- Eric Blake -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |