From: Eric Cooper <ecc@cmu.edu>
To: Matt Gushee <mgushee@havenrock.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Sys.setenv or equivalent?
Date: Fri, 22 Apr 2005 11:29:06 -0400 [thread overview]
Message-ID: <20050422152906.GC15516@localhost> (raw)
In-Reply-To: <42686A58.8060307@havenrock.com>
On Thu, Apr 21, 2005 at 09:07:04PM -0600, Matt Gushee wrote:
> 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?
Thanks. It didn't occur to me to search for anything but "setenv".
--
Eric Cooper e c c @ c m u . e d u
prev parent reply other threads:[~2005-04-22 15:30 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 ` [Caml-list] " Matt Gushee
2005-04-22 15:29 ` Eric Cooper [this message]
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=20050422152906.GC15516@localhost \
--to=ecc@cmu.edu \
--cc=caml-list@inria.fr \
--cc=mgushee@havenrock.com \
/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