[fpc-pascal] Data exchange between programs

Matt Emson memsom at interalpha.co.uk
Wed Sep 6 08:29:39 CEST 2006


>I have 2 FPC programs running on a Linux machine, is there an easy
> way to exchange a few data between these programs (I do not want to
> use disk operations). I was thinking of using environment variables,
> but I cannot find a way to change environment variables from a
> program.

MMap? Unix domain sockets? Or do these count as file operations?

Isn't there a GetEnv and SetEnv procedure/function somewhere in the LINUX 
RTL? Libc or somewhere like that?

HTH,

M





More information about the fpc-pascal mailing list