Date: Thu, 24 Apr 1997 14:34:11 +0300 (IDT) From: Eli Zaretskii To: Mike Collins cc: djgpp AT delorie DOT com Subject: Re: DJGPP BUG ? In-Reply-To: <5jg967$4ii@news.network.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 21 Apr 1997, Mike Collins wrote: > don't really want to have to close / re-open it. I haven't > checked the C reference, but is this standard C - that > chsize() must be followed with close()? You won't find anything there on this matter: `chsize' is not a standard C function, and neither is `close'. > I have never had to port a C program between compilers before, > but my impression was that the language was so standard that > it would be a trivial task. That might be correct, but only if you use standard (i.e. ANSI) C functions. And some problems cannot be solved efficiently using only ANSI C. It is not at all a trivial task to write a program that is portable to many different platforms, even in C. Many other languages make it all but impossible, btw.