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 f
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 chan
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
bytes available.
What ab
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 by
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.
> > > >
> > > > NumByt