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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: michael-grunewald@w...
Subject: [Caml-list] Re: uname for Ocaml
Basile STARYNKEVITCH <basile@starynkevitch.net> 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 <michael-grunewald@wanadoo.fr>
-------------------
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