Version française
Home     About     Download     Resources     Contact us    
Browse thread
stdout in Unix module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vincent Leleu <vincent@c...>
Subject: stdout in Unix module

Hello all,

Could anybody tell me how I should call 'flush stdout' in conjunction with the 
Unix module.
Once a 'open Unix' directive has been called I get the following compilation 
conflict:

flush stdout;;
      ^^^^^^
This expression has type Unix.file_descr but is here used with type out_channel

Thanks.

Sincerely yours.


Vincent Leleu

Computing Research Group
Johnson Building
University of Eastern England
Victoria Road South
Chelmsford CM1 1LL

Phone:  +44 1245 493131 ext. 3416
FAX:    +44 1245 495263
E-Mail: vincent@parc.anglia.ac.uk
URL:    http://www.parc.anglia.ac.uk