> I just remembered that I used strchr(3) in my last commit to spamc and
> according to the man page is that one part of C99, so might be missing on
> some system (?).
FWIW, I don't believe I've *ever* seen a C/C++ implementation for any real
system that didn't have strchr, all the way back to the original K&R
implementation. This is often missing on 8051-class microprocessor
implementations and some DSP implementations. But Unix or anything similar
generally won't run under those conditions, and it is unlikely SA+unix would
run in the under 64KB memory generally available on those systems.
So I wouldn't be inclined to worry.
I'm also surprised at the complaint about memcpy. Sometimes this is in
memory.h and sometimes in strings.h, but it is invariably there somewhere.
The strcasecmp function is unix-specific and is often either completely
missing or spelled differently in other environments. But I believe that
has been dealt with in some manner to run on Windows (stricmp, in that
case).
All the rest of the functions are net functions and originally BSD specific,
but are now generally accepted in most network-supporting implementations.
Although they may not all have absolutely identical semantics on all
implementations.
Loren