403acdc0da
as I get these back down to my machine.
33 lines
986 B
Plaintext
33 lines
986 B
Plaintext
'\"
|
|
'\" Copyright (c) 1996 Sun Microsystems, Inc.
|
|
'\"
|
|
'\" See the file "license.terms" for information on usage and redistribution
|
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
|
'\"
|
|
'\" SCCS: @(#) fblocked.n 1.6 96/02/23 13:46:30
|
|
.so man.macros
|
|
.TH fblocked n 7.5 Tcl "Tcl Built-In Commands"
|
|
.BS
|
|
'\" Note: do not modify the .SH NAME line immediately below!
|
|
.SH NAME
|
|
fblocked \- Test whether the last input operation exhausted all available input
|
|
.SH SYNOPSIS
|
|
\fBfblocked \fIchannelId\fR
|
|
.BE
|
|
|
|
.SH DESCRIPTION
|
|
.PP
|
|
The \fBfblocked\fR command returns 1 if the most recent input operation
|
|
on \fIchannelId\fR returned less information than requested because all
|
|
available input was exhausted.
|
|
For example, if \fBgets\fR is invoked when there are only three
|
|
characters available for input and no end-of-line sequence, \fBgets\fR
|
|
returns an empty string and a subsequent call to \fBfblocked\fR will
|
|
return 1.
|
|
.PP
|
|
.SH "SEE ALSO"
|
|
gets(n), read(n)
|
|
|
|
.SH KEYWORDS
|
|
blocking, nonblocking
|