summaryrefslogtreecommitdiffstats
path: root/doc/gets.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-03-11 17:03:00 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-03-11 17:03:00 (GMT)
commitc93c3a3b39929c9a7f1c816f4dc8a058f9eea85c (patch)
tree505d98c9c1a78785f5425cbf44b19004b4d49516 /doc/gets.n
parent014ce74e1d7d90d99e3b310e2e4a923f789802a2 (diff)
downloadtcl-c93c3a3b39929c9a7f1c816f4dc8a058f9eea85c.zip
tcl-c93c3a3b39929c9a7f1c816f4dc8a058f9eea85c.tar.gz
tcl-c93c3a3b39929c9a7f1c816f4dc8a058f9eea85c.tar.bz2
A number of small spelling and wording fixes in the docs.
Diffstat (limited to 'doc/gets.n')
-rw-r--r--doc/gets.n10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/gets.n b/doc/gets.n
index bed7e32..fe24058 100644
--- a/doc/gets.n
+++ b/doc/gets.n
@@ -35,12 +35,12 @@ returned.
.PP
If end of file occurs while scanning for an end of
line, the command returns whatever input is available up to the end of file.
-If \fIchannelId\fR is in nonblocking mode and there is not a full
+If \fIchannelId\fR is in non-blocking mode and there is not a full
line of input available, the command returns an empty string and
does not consume any input.
If \fIvarName\fR is specified and an empty string is returned in
\fIvarName\fR because of end-of-file or because of insufficient
-data in nonblocking mode, then the return count is -1.
+data in non-blocking mode, then the return count is -1.
Note that if \fIvarName\fR is not specified then the end-of-file
and no-full-line-available cases can
produce the same results as if there were an input line consisting
@@ -64,4 +64,8 @@ close $chan
file(n), eof(n), fblocked(n), Tcl_StandardChannels(3)
.SH KEYWORDS
-blocking, channel, end of file, end of line, line, nonblocking, read
+blocking, channel, end of file, end of line, line, non-blocking, read
+'\" Local Variables:
+'\" mode: nroff
+'\" fill-column: 78
+'\" End: