From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 629DABB83 for ; Wed, 24 May 2006 19:32:38 +0200 (CEST) Received: from kraid.nerim.net (smtp-103-wednesday.nerim.net [62.4.16.103]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k4OHWc3T016622 for ; Wed, 24 May 2006 19:32:38 +0200 Received: from hector.lesours (bstarynk.pck.nerim.net [213.41.244.95]) by kraid.nerim.net (Postfix) with ESMTP id E002840E38; Wed, 24 May 2006 19:32:36 +0200 (CEST) Received: from basile by hector.lesours with local (Exim 4.62) (envelope-from ) id 1FixDp-0004aL-QP; Wed, 24 May 2006 19:32:37 +0200 Date: Wed, 24 May 2006 19:32:37 +0200 To: Eric Cooper Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] opening/reading a rtai fifo Message-ID: <20060524173237.GA17603@ours.starynkevitch.net> References: <1148489253.44748e25b2321@webmailetu.univ-orleans.fr> <20060524172005.GA2515@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060524172005.GA2515@localhost> User-Agent: Mutt/1.5.11+cvs20060403 From: Basile STARYNKEVITCH X-Miltered: at concorde with ID 447498B6.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; basile:01 basile:01 ecrivait:01 univ-orleans:01 unix:01 unix:01 buffered:01 stdlib:01 dlopen:01 nerim:01 faiencerie:01 92340:01 reine:01 2006:98 2006:98 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Le Wed, May 24, 2006 at 01:20:05PM -0400, Eric Cooper écrivait/wrote: > On Wed, May 24, 2006 at 06:47:33PM +0200, julien.michel@etu.univ-orleans.fr wrote: > > I currently work on an embedded system, OS Linux 2.4-19 RTAI . > > I suggest using the Unix.openfile and Unix.read functions them same > way your current C code does, rather than the buffered I/O in stdlib. I actually had a phone conversation and he had trouble compiling the unix library on his system (lacking of dlopen at least, and maybe of some unix system call). -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet aliases: basiletunesorg = bstarynknerimnet 8, rue de la Faïencerie, 92340 Bourg La Reine, France