Fix port-position documentation
authorAndy Wingo <wingo@pobox.com>
Mon, 25 Nov 2019 08:47:04 +0000 (09:47 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 25 Nov 2019 08:47:04 +0000 (09:47 +0100)
* doc/ref/r6rs.texi (rnrs io ports): Update the translation for
  port-position.

doc/ref/r6rs.texi

index 66c869062a16352c38240364fbd1d7da199c7620..c47eef7d1a4fa6905bf130676ca141ea987965a2 100644 (file)
@@ -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
 Access}.
 @end deffn
 
@@ -1743,7 +1743,7 @@ Return @code{#t} is @var{port} supports @code{port-position}.
 @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