[fpc-pascal] File Descriptor in Windows ?
Michael Van Canneyt
michael at freepascal.org
Wed Mar 25 14:24:02 CET 2015
On Wed, 25 Mar 2015, fredvs wrote:
> Hello.
>
> Sorry to sorry to bother you with that file descriptors again... ;-(
>
> There are some answers there on mpg123 forum.
> They explain that "simple stdin/stdout file descriptors would work."
> Of course all what they explained is in C ;-(
>
> OK, but how can i use "simple stdin/stdout file descriptors" in Pascal ?
> What is the code to retrieve that stdin/stdout file descriptors in Windows?
They are available in default variables in the system unit:
StdInputHandle,StdOutputHandle,StdErrHandle
Michael.
More information about the fpc-pascal
mailing list