unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#37537: [PATCH] doc: Fix order of arguments to seek.
@ 2019-09-28  5:34 Arun Isaac
  2020-06-18  7:20 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Arun Isaac @ 2019-09-28  5:34 UTC (permalink / raw)
  To: 37537

* doc/ref/r6rs.texi (rnrs io ports): Fix order of arguments to seek in
port-position and set-port-position! documentation.
---
 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 9d326ff09..3f36fef0f 100644
--- a/doc/ref/r6rs.texi
+++ b/doc/ref/r6rs.texi
@@ -1739,7 +1739,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
 
@@ -1748,7 +1748,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
 
-- 
2.23.0






^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-18  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-28  5:34 bug#37537: [PATCH] doc: Fix order of arguments to seek Arun Isaac
2020-06-18  7:20 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).