Configuring a file
As mentioned previously, you may use the fconfigure
command to set or get the configuration options for an open channel. The syntax is as follows:
fconfigure channel name value name value…
If invoked with no option names or values, the fconfigure
command will return the configuration options for the channel specified. Optionally, a configuration name may be passed to get the configurations for the option specified. If name and value pairs are passed the file will be configured based on the name/value pairs supplied.
The syntax of acceptable options and their descriptions are as follows:
Option |
Description |
---|---|
|
This determines if the I/O operations can result in indefinite blocking. Acceptable values must be provided in the standard Tcl Boolean format. |
|
If set to |