[fpc-devel] linux -> select() from linux.ppc
Michael Van Canneyt
michael at freepascal.org
Thu May 26 17:24:50 CEST 2005
On Thu, 26 May 2005, Michael Preslar wrote:
> Using the 2.0 compiler binaries from the website..
>
> Free Pascal Compiler version 2.0.0 [2005/05/15] for i386
>
>
> Code that compiled fine with 1.9.6 won't compile any longer. In specific, the
> select() routine is gone from the linux unit. I see that it still remains in
> the "oldlinux" unit.
>
> Is select() no longer supported in the 2.0 branch?
It is.
The linux unit was replaced by the BaseUnix and Unix units, which are
more cross-platform (work on all Unixes). To mark the difference, the
prefix fp was prepended to all calls. So you should use fpSelect().
The baseunix/unix units are documented.
Michael.
More information about the fpc-devel
mailing list