Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] file copy
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Maxence Guesdon <maxence.guesdon@i...>
Subject: Re: [Caml-list] file copy
On Wed, 23 Jun 2004 15:55:19 +0000
Sebastien Ferre <sbf@aber.ac.uk> wrote:

> 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.

You can find it in Didier Remy's course about system programming :
http://pauillac.inria.fr/~remy/poly/system/camlunix/fich.html#toc13

Hope this helps,

Maxence Guesdon

-------------------
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