From: Bruno Pagano <pagano@free.fr>
To: Robert Longeon <Robert.Longeon@cnrs-dir.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Comment rediriger les entrées/sorties standards ?
Date: Thu, 3 May 2001 08:21:47 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.21.0105030816140.1555-100000@leto.dune> (raw)
In-Reply-To: <4.2.0.58.20010502143518.00da89a0@cezanne.auteuil.cnrs-dir.fr>
Bonjour,
vous pouvez essayer ceci :
---------
open Unix
let fd_file = openfile "trace" [O_WRONLY;O_CREAT] (6*64)
let _ = dup2 fd_file stdout
let _ = print_endline "texte" ; flush Pervasives.stdout
---------
sans oublier de faire le link avec unix.cma
Pour tous ces problemes, Xavier Leroy a ecrit un poly de cours
sur Unix et camllight qui est tres bien fait et qui contient
beaucoup d'exemples classiques. Il doit etre accessible depuis
sa page Web.
--
Bruno Pagano
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-05-03 11:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-02 12:42 Robert Longeon
2001-05-02 14:49 ` [Caml-list] =?iso-8859-1?Q?Comment_rediriger_les_entrées/sorties_?= " Maxence Guesdon
[not found] ` <200105021455.f42EtjL25069@waco.inria.fr>
2001-05-02 15:20 ` [Caml-list] Comment_rediriger_les_entrees/sorties_standards ? Robert Longeon
2001-05-03 6:21 ` Bruno Pagano [this message]
2001-05-03 9:51 ` [Caml-list] Re: [Caml-list] Comment rediriger les entrées/sorties standards ? Xavier Leroy
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=Pine.LNX.4.21.0105030816140.1555-100000@leto.dune \
--to=pagano@free.fr \
--cc=Robert.Longeon@cnrs-dir.fr \
--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