delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/27/11:20:21

From: buers AT gmx DOT de (Dieter Buerssner)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: files
Date: 27 Mar 2000 15:42:38 GMT
Lines: 9
Message-ID: <8bnvhd$5bs2f$1@fu-berlin.de>
References: <jcsD4.4971$jX3 DOT 69233 AT typhoon DOT nyroc DOT rr DOT com>
NNTP-Posting-Host: dialup-212.162.14.5.frankfurt1.mik.net (212.162.14.5)
Mime-Version: 1.0
X-Trace: fu-berlin.de 954171758 5632079 212.162.14.5 (16 [17104])
X-Posting-Agent: Hamster/1.3.13.0
User-Agent: Xnews/03.02.04
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

fubu36 AT stny DOT rr DOT com (John) wrote: 

>[...]. Aftrer this is done how would I delete the old file and
>rename the new one to the correct name? thanks

You can use remove() and rename(), both Standard C functions.
A description of these functions can be found with "info libc".

-- Dieter

- Raw text -


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