Version française
Home     About     Download     Resources     Contact us    
Browse thread
Sys.setenv or equivalent?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Cooper <ecc@c...>
Subject: Sys.setenv or equivalent?
Is there any way to do setenv() from within OCaml?  I want to set an
environment variable that will be used by a C library that my OCaml
program calls.  I know it's a simple C stub, but it would be nice if
it were in Sys along with getenv.

-- 
Eric Cooper             e c c @ c m u . e d u