it still could be a macro; or maybe I'm not using it anywhere.

Michael Sperber [Mr. Preprocessor] wrote:
"viteno" == Norbert Koch <nk@viteno.net> writes:

viteno> sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) writes:

I see mainly wcslen referenced in the source.  Don't exist in FreeBSD
4.3, as far as I can tell. (What puzzles me is that a binary created
on 4.5 runs on 4.3, though.)

viteno> Hmm, yes this sounds strange, because on 4.3 it seems you'd need two
viteno> calls, wcstomb to convert to multibyte and mblen to calculate the
viteno> length.

viteno> Maybe wcslen is a macro which expands to these two function calls and
viteno> thus, lucky us, the code works... ahem, guesswork.

No:

sams[187] nm ~/build/xemacs-i386_fbsd45/src/xemacs | fgrep wcslen
U wcslen