www.delorie.com/archives/browse.cgi | search |
Date: | Tue, 8 Jun 93 09:11:06 EDT |
From: | DJ Delorie <dj AT ctron DOT com> |
To: | crimson AT wpi DOT wpi DOT edu |
Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: hello! |
You must use "rb" or "wb" to open a binary FILE*, or the O_BINARY flag for open(). Note that for random access, you must use "r+b" or "w+b" and not "rb+ or "wb+".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |