From 2f1bbcfd5f2533ae993b801eccba83472eac51b6 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Fri, 9 Feb 2001 14:38:27 +0000 Subject: [PATCH] Docstring of port-for-each updated to new behaviour. --- libguile/ports.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libguile/ports.c b/libguile/ports.c index 36f59fabb..1cc9058b7 100644 --- a/libguile/ports.c +++ b/libguile/ports.c @@ -693,7 +693,11 @@ SCM_DEFINE (scm_close_output_port, "close-output-port", 1, 0, 0, SCM_DEFINE (scm_port_for_each, "port-for-each", 1, 0, 0, (SCM proc), "Apply @var{proc} to each port in the Guile port table\n" - "in turn. The return value is unspecified.") + "in turn. The return value is unspecified. More specifically,\n" + "@var{proc} is applied exactly once to every port that exists\n" + "in the system at the time @var{port-for-each} is invoked.\n" + "Changes to the port table while @var{port-for-each} is running\n" + "have no effect as far as @var{port-for-each} is concerned.\n") #define FUNC_NAME s_scm_port_for_each { int i;