From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA21785; Wed, 23 Jun 2004 16:55:49 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA22154 for ; Wed, 23 Jun 2004 16:55:48 +0200 (MET DST) Received: from tweli.aber.ac.uk (tweli.aber.ac.uk [144.124.16.41]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i5NEtlSH006010 for ; Wed, 23 Jun 2004 16:55:47 +0200 Received: from localhost.localdomain ([127.0.0.1] helo=tweli.aber.ac.uk) by tweli.aber.ac.uk with esmtp (Exim 4.20) id 1Bd9AA-0002iN-CX for caml-list@inria.fr; Wed, 23 Jun 2004 15:55:46 +0100 Received: from pcsbf.dcs.aber.ac.uk ([193.60.10.80] helo=aber.ac.uk) by tweli.aber.ac.uk with esmtp (Exim 4.20) id 1Bd9A5-0002hE-AJ for caml-list@inria.fr; Wed, 23 Jun 2004 15:55:41 +0100 Message-ID: <40D9A7E7.2060703@aber.ac.uk> Date: Wed, 23 Jun 2004 15:55:19 +0000 From: Sebastien Ferre Organization: UWA, Computer Science User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: fr-FR, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] file copy Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Sophos-Scanned: from sbf@aber.ac.uk virus scanned OK X-UWA-Mid: 1Bd9A5-0002hE-AJ X-UWA-Originating-IP: 193.60.10.80 X-UWA-Bounce-Filter: 4Iwkdu0Ey2I X-Miltered: at concorde with ID 40D999F3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; aber:99 ocaml:01 command:98 command:98 unix:02 unix:02 library:03 library:03 sys:03 sebastien:03 sebastien:03 cheers:06 standard:07 function:09 function:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, is there any function in OCaml for copying a file like with the Unix command 'cp' ? I wish to avoid using the function Sys.command to keep platform independency. I could not find any neither in the standard library, nor in the Unix library. Cheers, Sébastien ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners