1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 14:20:26 +02:00

Document new procedures

open-input-string
open-output-string
get-output-string
This commit is contained in:
Martin Grabmüller 2001-03-15 11:39:01 +00:00
parent e87a03fce7
commit 62e63ba927

15
NEWS
View file

@ -401,6 +401,21 @@ Set/remove an advisory shared or exclusive lock on `file'.
Set or get the hostname of the machine the current process is running
on.
** New function: open-input-string string
Return an input string port which delivers the characters from
`string'. This procedure, together with `open-input-string' and
`get-output-string' implements SRFI-6.
** New function: open-output-string
Return an output string port which collects all data written to it.
The data can then be retrieved by `get-output-string'.
** New function: get-output-string
Return the contents of an output string port.
** Deprecated: close-all-ports-except. This was intended for closing
ports in a child process after a fork, but it has the undesirable side
effect of flushing buffers. port-for-each is more flexible.