SYNOPSIS
read ?-nonewline? channelId
read channelId numChars
DESCRIPTION
In the first form, the read command reads all of the data
from
channelId up to the end of the file.
If the
If channelId is in nonblocking mode, the command may not read
as
many characters as requested: once all available input has been read,
the command will return the data that is available rather than
blocking for more input. If the channel is configured to use a
multi-byte encoding, then there may actually be some bytes remaining
in the internal buffers that do not form a complete character. These
bytes will not be returned until a complete character is available or
end-of-file is reached.
The
read translates end-of-line sequences in the input into
newline characters according to the
PORTABILITY
Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.
AVAILABILITY
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Commands:
- eof, fblocked, fconfigure
PTC MKS Toolkit 10.5 Documentation Build 40.