From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 92398BCAE for ; Fri, 1 Jul 2005 18:39:06 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j61Gd5AJ024484 for ; Fri, 1 Jul 2005 18:39:06 +0200 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 SAA17220 for ; Fri, 1 Jul 2005 18:39:05 +0200 (MET DST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j61Gd4mT019014 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 1 Jul 2005 18:39:05 +0200 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DoOP3-0003xw-Mc for caml-list@inria.fr; Fri, 01 Jul 2005 18:30:10 +0200 Received: from sunray.offis.uni-oldenburg.de ([134.106.52.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2005 18:30:09 +0200 Received: from bernd.kuhls by sunray.offis.uni-oldenburg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2005 18:30:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Bernd Kuhls Subject: How to find out free diskspace? Date: Fri, 01 Jul 2005 18:28:21 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sunray.offis.uni-oldenburg.de User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050616) X-Accept-Language: en-us, en Sender: news X-Miltered: at nez-perce with ID 42C571A9.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 42C571A8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bernd:01 bernd:01 ocaml:01 bindings:01 cygwin:01 int:01 string:03 informatik:04 solaris:05 linux:06 function:08 similar:10 something:12 some:12 should:13 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: Hi, I am looking for some Ocaml code (or C bindings which work on Linux/Solaris/Cygwin) to get the amount of free diskspace on a volume. The function should receive a string and return an int64 value or something similar. Regards, Bernd