Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-06

urgent: fdOpen etc on FreeBSD

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Santhoff

Hi!

I'm using the syscalls fdOpen, fdClose, etc on FreeBSD.

Since swapping from compiler 1.0.10 to 1.9.2 and exchanging the 'uses Linux' statement to 'uses unix', these calls together with FD_SET and FD_Zero makros are missing.

How can I handle that? Where have they gone?

TIA,
Marc

Marco van de Voort
to Marc Santhoff
Show quoted text 7 lines
I'm using the syscalls fdOpen, fdClose, etc on FreeBSD. Since swapping from compiler 1.0.10 to 1.9.2 and exchanging the 'uses Linux' statement to 'uses unix', these calls together with FD_SET and FD_Zero makros are missing. How can I handle that? Where have they gone?

fpopen now. Most calls are now the "C" name prefixed with fp.

See also
http://www.stack.nl/~marcov/unixrtl.pdf

Marc Santhoff
to Marco van de Voort
Show quoted text 9 lines
> I'm using the syscalls fdOpen, fdClose, etc on FreeBSD. > > Since swapping from compiler 1.0.10 to 1.9.2 and exchanging the 'uses > Linux' statement to 'uses unix', these calls together with FD_SET and > FD_Zero makros are missing. > > How can I handle that? Where have they gone? fpopen now. Most calls are now the "C" name prefixed with fp.

This does help, it works.

Thank you very much,
Marc