Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2005-04-22 (01:14)
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