On Thu, Jul 08, 2010 at 01:09:41PM +0200, Daniel Bünzli wrote:
> On Thu, Jul 8, 2010 at 12:23 PM, Richard Jones <r...@annexia.org> wrote:
> 
> > How about running the external "uname" program.
> 
> Yes, why not. I was hoping that I wouldn't have to resort to that kind
> of hacks, that I was missing a function using uname(3) directly.

Stdlib /could/ bind the uname(2) syscall, but it's legendary in its
complexity.  Seems more likely to cause problems than just calling out
to the external program.

http://www.kernel.org/doc/man-pages/online/pages/man2/uname.2.html#NOTES

Rich.

-- 
Richard Jones
Red Hat

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to