From: SerP <serp@stork.ru>
Cc: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] file_desc
Date: Tue, 01 Jul 2008 18:56:54 +0400 [thread overview]
Message-ID: <486A45B6.4080305@stork.ru> (raw)
In-Reply-To: <486A40C9.2020807@smokejumperit.com>
Robert Fischer wrote:
> Is there a way to convert a file_descr to/from an int in OCaml? The type is abstract, and there
> doesn't seem to be an obvious answer.
>
> Alternatively, is there a way to get at an inherited file_descr from a process I execv'd into?
>
> ~~ Robert.
>
> _______________________________________________
> 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
>
>
Obj.magic is a single way to do this.
next prev parent reply other threads:[~2008-07-01 14:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 14:35 file_desc Robert Fischer
2008-07-01 14:56 ` SerP [this message]
2008-07-01 14:59 ` [Caml-list] file_desc Mark Shinwell
2008-07-01 15:15 ` Dave Benjamin
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=486A45B6.4080305@stork.ru \
--to=serp@stork.ru \
--cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).