[PD] read Linux fifos / named pipes
IOhannes m zmölnig
zmoelnig at iem.at
Sat Mar 23 19:06:57 CET 2019
On 3/23/19 4:21 PM, Carlos Franke wrote:
> other then using [shell], is there a way to read from a named pipe /
> fifo in Linux?
> I tried [textfile] and [msgfile] from zexy. Both fail to read from a
> pipe, [msgfile] with the error message:
> pd: getbytes() failed -- out of memory
> msgfile_read: could not reserve -1 bytes to read into
the problem being, that pipes don't have a "size", and both textfile and
msgfile attempt to read the entire file on startup.
anyhow, zexy also has [freadln] and [fwriteln] which should work ok.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Pd-list