From: Matt Gushee <mgushee@havenrock.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Sys.setenv or equivalent?
Date: Thu, 21 Apr 2005 21:07:04 -0600 [thread overview]
Message-ID: <42686A58.8060307@havenrock.com> (raw)
In-Reply-To: <20050422011247.GA15065@localhost>
Eric Cooper wrote:
> 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.
How about Unix.putenv?
--
Matt Gushee
Englewood, CO, USA
next prev parent reply other threads:[~2005-04-22 3:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-22 1:12 Eric Cooper
2005-04-22 3:07 ` Matt Gushee [this message]
2005-04-22 15:29 ` [Caml-list] " Eric Cooper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42686A58.8060307@havenrock.com \
--to=mgushee@havenrock.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox