Ciao,
is there a sample extension implementing an input/output
channel?
I'm thinking of a memory channel (not an interface
to a file or hardware port), something like the string
port; is the channel API of Guile worth learning for this,
or is it better to write something of my own?
I only
Marco Maggi [EMAIL PROTECTED] writes:
is there a sample extension implementing an input/output
channel?
You'll have seen the Soft Ports node in the manual, it's pretty
straightforward.
I'm thinking of a memory channel (not an interface
to a file or hardware port), something like the string
Torsten Bronger [EMAIL PROTECTED] writes:
1) Will the result from scm_from_locale_string() garbage-collected
cleanly?
Yep.
My concern is that the program should be able to read from stdin,
too, and I question the protability of the file name
/dev/stdin.