[clean-list] fopen of named pipe fails with "IO Error: FOpen: seek to end of file failed"

David C. Norris David_Norris at brown.edu
Tue Aug 21 01:22:45 MEST 2007


in shell:
$ mkfifo pipe

namedpipe.icl:

module namedpipe

import StdEnv

Start :: *World -> *World
Start world
    # (writeok, pipe, world) = fopen "pipe" FAppendText world
    | not writeok            = abort "Unable to open 'pipe'"
    | otherwise              = world


Does StdFile support use of named pipes on linux?  What options exist 
for implementing interprocess communication using Clean on linux?

Regards,
David C. Norris



More information about the clean-list mailing list