[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 02/02: Fix port-position documentation

From: Andy Wingo
Subject: [Guile-commits] 02/02: Fix port-position documentation
Date: Mon, 25 Nov 2019 10:33:02 -0500 (EST)

wingo pushed a commit to branch master
in repository guile.

commit 59febb4b2d30211ad1dda161eedc3d72df8bff3d
Author: Andy Wingo <address@hidden>
Date:   Mon Nov 25 09:47:04 2019 +0100

    Fix port-position documentation
    * doc/ref/r6rs.texi (rnrs io ports): Update the translation for
 doc/ref/r6rs.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/ref/r6rs.texi b/doc/ref/r6rs.texi
index 66c8690..c47eef7 100644
--- a/doc/ref/r6rs.texi
+++ b/doc/ref/r6rs.texi
@@ -1734,7 +1734,7 @@ chapter.
 @end deffn
 @deffn {Scheme Procedure} port-position port
-Equivalent to @code{(seek @var{port} SEEK_CUR 0)}.  @xref{Random
+Equivalent to @code{(seek @var{port} 0 SEEK_CUR)}.  @xref{Random
 @end deffn
@@ -1743,7 +1743,7 @@ Return @code{#t} is @var{port} supports 
 @end deffn
 @deffn {Scheme Procedure} set-port-position! port offset
-Equivalent to @code{(seek @var{port} SEEK_SET @var{offset})}.
+Equivalent to @code{(seek @var{port} @var{offset} SEEK_SET)}.
 @xref{Random Access}.
 @end deffn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]