summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2015-12-05 21:52:13 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2015-12-05 21:52:13 +0300
commit1aa5b0ed2c537dcf8fc40a70ce1d80fe9ce2734e (patch)
treee5ecd0fbf510fda93a7453460f87d157f9645f04 /doc
parentNEWS: Update (diff)
downloadguile-ssh-1aa5b0ed2c537dcf8fc40a70ce1d80fe9ce2734e.tar.gz
channel.scm (make-channel): Use mode symbols from (ice-9 popen)
* modules/ssh/channel.scm (make-channel): Use mode symbols 'OPEN_READ', 'OPEN_WRITE' and 'OPEN_BOTH' from (ice-9 popen). * doc/api-channels.texi, NEWS: Update.
Diffstat (limited to 'doc')
-rw-r--r--doc/api-channels.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api-channels.texi b/doc/api-channels.texi
index 03c5b7b..43725e9 100644
--- a/doc/api-channels.texi
+++ b/doc/api-channels.texi
@@ -33,13 +33,13 @@ Return @code{#t} if @var{x} is a Guile-SSH channel, @code{#f}
otherwise.
@end deffn
-@deffn {Scheme Procedure} make-channel session [flags]
+@deffn {Scheme Procedure} make-channel session [mode]
Allocate a new Guile-SSH channel for the @var{session} (@pxref{Sessions}).
@var{flags} are determine what kind of a channel should be created. Possible
-flags are: @code{O_RDONLY}, @code{O_WRONLY}, @code{O_RDWR}. They play similar
-role to @code{open} procedure flags, and allow to create an ihput channel,
-output channel or input/output channel respectively.
+modes are: @code{OPEN_READ}, @code{OPEN_WRITE}, @code{OPEN_BOTH}. They allow
+to create either an input channel, output channel or input/output channel
+respectively.
@end deffn
@deffn {Scheme Procedure} channel-open-session channel