delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/28/02:16:03

From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How do you delete files on disk with djgpp ?
Date: Thu, 28 Jan 1999 01:44:37 -0500
References: <199901271144 DOT GAA25238 AT delorie DOT com>
X-Posted-Path-Was: not-for-mail
X-Accept-Language: en
X-ELN-Date: 28 Jan 1999 06:44:40 GMT
X-ELN-Insert-Date: Wed Jan 27 22:45:16 1999
Organization: Nocturnal Aviation
Lines: 14
Mime-Version: 1.0
NNTP-Posting-Host: 1cust86.tnt11.nyc3.da.uu.net
Message-ID: <36B00755.A64DEC4A@earthlink.net>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Benjamin Downs wrote:
> 
> Hi,
> 
> I'm trying to delete a file on a hard disk from within a c program. There
> seems to be plenty of support for creating / appending to  files and
> setting their length to 0, but not much in the way of deleting it when
> you're finished.

remove()

-- 
Martin Ambuhl (mambuhl AT earthlink DOT net)
Note: mambuhl AT tiac DOT net will soon be inactive

- Raw text -


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