www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/24/07:41:20

Date: Thu, 24 Apr 1997 14:34:11 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mike Collins <e-mail DOT address AT end DOT of DOT text>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP BUG ?
In-Reply-To: <5jg967$4ii@news.network.com>
Message-ID: <Pine.SUN.3.91.970424143343.11402P-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019