Re: Haskell <-> C/C++ comunication (sockets/pipes?)

28 Sep
2001
28 Sep
'01
6:35 a.m.
Thu, 27 Sep 2001 23:06:51 +0100, Jorge Adriano
Seems to me like Hsk is not 'flushing' the output.
I guess this is right (sorry, haven't checked). You can flush in two ways (using module IO): 1. At the beginning: hSetBuffering stdout LineBuffering or even hSetBuffering stdout NoBuffering (the latter slows down the I/O). 2. After each write to be flushed: hFlush stdout stdout is either line buffered or block buffered by default, depending on whether it's a terminal or not. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK
8635
Age (days ago)
8635
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcin 'Qrczak' Kowalczyk