🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1138

using "system" in C

#1138
From: Jonathan Oliver
Date: Thu, 04 Apr 1991 04:32
9 lines
697 bytes
I am writing a rather large program (about 550K) in C and I recently
noticed that when I called "system" in the following way

	system("copy file1 file2");

there was not enough memory to perform the copy.
Is there a way of copying files that doesn't require as much memory.
Thanks in advance
	Jon Oliver
Technical Details
Message-ID: <jono.670739550@dec06>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!bruce!dec06!jono

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!munnari.oz.au!bruce!dec06!jono
From: jono@dec06.cs.monash.edu.au (Jonathan Oliver)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: using "system" in C
Message-ID: <jono.670739550@dec06>
Date: 4 Apr 91 04:32:30 GMT
Sender: news@bruce.cs.monash.OZ.AU
Distribution: comp
Lines: 9