summaryrefslogtreecommitdiff
path: root/doc/ref/scheme-io.texi
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2004-01-07 18:13:07 +0000
committerMarius Vollmer <mvo@zagadka.de>2004-01-07 18:13:07 +0000
commit6394add195faae1e7ed2cdb6b8523538d6e2283d (patch)
tree64a413311a8ea8b4a1e0a0aba1e07213668e3f43 /doc/ref/scheme-io.texi
parentef20bf705f6b9d23267a08e2362bb91715dc7e4f (diff)
downloadguile-6394add195faae1e7ed2cdb6b8523538d6e2283d.tar.gz
Adapt to new 'frame' names. Document scm_c_with_fluid,
scm_c_with_fluids, and scm_frame_fluid.
Diffstat (limited to 'doc/ref/scheme-io.texi')
-rw-r--r--doc/ref/scheme-io.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/ref/scheme-io.texi b/doc/ref/scheme-io.texi
index 58deaf9aa..eb01ecbac 100644
--- a/doc/ref/scheme-io.texi
+++ b/doc/ref/scheme-io.texi
@@ -634,17 +634,17 @@ Change the ports returned by @code{current-input-port},
so that they use the supplied @var{port} for input or output.
@end deffn
-@deftypefn {C Function} void scm_with_current_input_port (SCM port)
-@deftypefnx {C Function} void scm_with_current_output_port (SCM port)
-@deftypefnx {C Function} void scm_with_current_error_port (SCM port)
+@deftypefn {C Function} void scm_frame_current_input_port (SCM port)
+@deftypefnx {C Function} void scm_frame_current_output_port (SCM port)
+@deftypefnx {C Function} void scm_frame_current_error_port (SCM port)
These functions must be used inside a pair of calls to
-@code{scm_begin_frame} and @code{scm_end_frame} (@pxref{Frames}).
+@code{scm_frame_begin} and @code{scm_frame_end} (@pxref{Frames}).
During the dynamic extent of the frame, the indicated port is set to
@var{port}.
-More precisely, the the current port is saved when the dynamic extent is
-entered and set to @var{port}. When the dynamic extent is left, the
-current port is stored in @var{port} and reset to the saved value.
+More precisely, the current port is swapped with a `backup' value
+whenever the frame is entered or left. The backup value is
+initialized with the @var{port} argument.
@end deftypefn
@node Port Types