Node:Block Reading and Writing, Next:Default Ports, Previous:Line/Delimited, Up:Input and Output
The Block-string-I/O module can be accessed with:
(use-modules (ice-9 rw))
It currently contains procedures that help to implement the
(scsh rw)
module in guile-scsh.
read-string!/partial str [port_or_fdes [start [end]]] | Scheme Procedure |
scm_read_string_x_partial (str, port_or_fdes, start, end) | C Function |
Read characters from a port or file descriptor into a
string str. A port must have an underlying file
descriptor -- a so-called fport. This procedure is
scsh-compatible and can efficiently read large strings.
It will:
|
write-string/partial str [port_or_fdes [start [end]]] | Scheme Procedure |
scm_write_string_partial (str, port_or_fdes, start, end) | C Function |
Write characters from a string str to a port or file
descriptor. A port must have an underlying file descriptor
-- a so-called fport. This procedure is
scsh-compatible and can efficiently write large strings.
It will:
|