In our previous episode, Mattias Gaertner said:
> What does strlen return on nil?
> The FPC function strlen is implemented via FPC_PCHAR_LENGTH.
> The documentation does not say what happens when passing nil.

Both the generic and assembler implementation return 0.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to