Hi,
TAsyncProcess from the LCL has a property NumBytesAvailable. Attached patch adds it
to TProcess in the FCL.
NumBytesAvailable checks how many bytes are available in TProcess.Output, so you can
decide not to read from it if there are no bytes available.
Maybe you want a different name
On 31 jan 2007, at 12:49, Vincent Snijders wrote:
+{$ifdef BSD}
+const
+ FIONREAD = $4004667F;
+{$endif}
+
The FIONREAD constant is available in the termio units of both Darwin
and FreeBSD as of 2.0.4 (not for Open/NetBSD, but that's probably the
least of the things which need to be
Marc Weustink schreef:
Vincent Snijders wrote:
Hi,
TAsyncProcess from the LCL has a property NumBytesAvailable. Attached
patch adds it to TProcess in the FCL.
NumBytesAvailable checks how many bytes are available in
TProcess.Output, so you can decide not to read from it if there are
no
Vincent Snijders schreef:
Marc Weustink schreef:
Vincent Snijders wrote:
Hi,
TAsyncProcess from the LCL has a property NumBytesAvailable. Attached
patch adds it to TProcess in the FCL.
NumBytesAvailable checks how many bytes are available in
TProcess.Output, so you can decide not to read
On Wed, 31 Jan 2007, Vincent Snijders wrote:
Vincent Snijders schreef:
Marc Weustink schreef:
Vincent Snijders wrote:
Hi,
TAsyncProcess from the LCL has a property NumBytesAvailable. Attached
patch adds it to TProcess in the FCL.
NumBytesAvailable checks how many