[fpc-pascal] porting fpIoctl() to windows

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon May 29 23:37:52 CEST 2006

On 5/29/06, Alain Michaud <Alain.Michaud at nrc-cnrc.gc.ca> wrote:
> I wanted to write a unit that would simulate this file (ioctl.h), but,
> this header file contains mainly macros. I do not think that it is
> possible to write some Pascal code that would in fact be a macro! If
> someone knows if it possible to write macros in Pascal please tell me.

You can´t. Transform macros into functions. Some macros can also be
substituted directly into the code.

Felipe Monteiro de Carvalho

More information about the fpc-pascal mailing list