caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Sébastien Hinderer" <Sebastien.Hinderer@inria.fr>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Logging to a channel form C
Date: Sun, 12 Jun 2016 22:27:46 +0200	[thread overview]
Message-ID: <20160612202746.GA24469@pema> (raw)
In-Reply-To: <CAPFanBG7K_Go5Rh7R4+1tPs++WFkhGsYTMn_2h4Swr1Jd9DFcQ@mail.gmail.com>

Gabriel Scherer (2016/06/12 14:10 -0400):
> I would call the channel-writing functions of the OCaml runtime, see
> byterun/caml/io.h (and <caml/io.h> for C includes).

Ah, I see, thanks. This would indeed guarantee coherent output, but then
it also means that one has to sprintf to a string before writing to the
channel, right?

Thanks,

Sébastien.

      reply	other threads:[~2016-06-12 20:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-12 12:29 Sébastien Hinderer
2016-06-12 12:32 ` Sébastien Hinderer
2016-06-12 18:10   ` Gabriel Scherer
2016-06-12 20:27     ` Sébastien Hinderer [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=20160612202746.GA24469@pema \
    --to=sebastien.hinderer@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@gmail.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;
as well as URLs for NNTP newsgroup(s).