[Maxima] writing into and reading from fifos
caruso at dm.unipi.it
Fri Sep 14 08:52:23 CDT 2007
I have managed to write a simple C++ server program that does
some fast computationn using the GMP and NTL libraries.
This program in this first version only uses Unix fifos (named pipes)
to comunicate with the client(s).
In order to use it I need to write and read from fifos,
which for this purpose could just be considered as files.
Maybe this server could be very useful for othe people.
Its only limitation, as it is now, is that it will only work
on Unix systems.
I have asked similar questions in the past
and I am sorry if I am partially repeating myself.
I haven't been able to find the necessary information
by using "describe".
I would like to read and write strings into such files.
I can open for writing a file as a stream by
"f : openr(<path>)"
I can read it by
but I don't know how to append/write data into this file.
More information about the Maxima