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 LAA30380; Thu, 23 Jan 2003 11:27:55 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA08590 for caml-list@pauillac.inria.fr; Thu, 23 Jan 2003 11:27:53 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA20676 for ; Wed, 22 Jan 2003 17:41:04 +0100 (MET) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h0MGf3v06143 for ; Wed, 22 Jan 2003 17:41:03 +0100 (MET) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18bNuT-0001pm-00 for ; Wed, 22 Jan 2003 17:39:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18bNuS-0001pb-00 for ; Wed, 22 Jan 2003 17:39:28 +0100 From: michael-grunewald@wanadoo.fr (=?iso-8859-15?q?Micha=EBl_Gr=FCnewald?=) Subject: [Caml-list] Re: uname for Ocaml Date: 22 Jan 2003 17:47:29 +0100 Organization: (none) Message-ID: <87u1g1uo66.fsf@ketanu.dyndns.org> References: <15917.26071.995917.528195@hector.lesours> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Basile STARYNKEVITCH writes: > Dear All, > > If you need to call uname(2) from some Ocaml program you can steal my > tiny code in util.ml util.mli util_ml.c on > > I actually wish that uname(2) will be incorporated in the Unix module. Would not be more accurate to complete, and much more simple, the 'Sys.os_type' information string by a 'Sys.os_name' information string (or os_uname ...). -- Michaël Grünewald ------------------- 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