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:
parent
e87a03fce7
commit
62e63ba927
1 changed files with 15 additions and 0 deletions
15
NEWS
15
NEWS
|
@ -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
|
Set or get the hostname of the machine the current process is running
|
||||||
on.
|
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
|
** Deprecated: close-all-ports-except. This was intended for closing
|
||||||
ports in a child process after a fork, but it has the undesirable side
|
ports in a child process after a fork, but it has the undesirable side
|
||||||
effect of flushing buffers. port-for-each is more flexible.
|
effect of flushing buffers. port-for-each is more flexible.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue