Sorry to hassle this group again, but I am lead to believe that
BSD versions of Unix comes with bzero, while USG and SYSV come with
memset. Am I being lead right? I need to know to reduce the
complexity of an #ifdef in some (ultra) portable code; I want to be
able to say:
#if defined(BSD)
#define ZERO(s,n) bzero((s),(n))
#else
#define ZERO(s,n) memset((s), 0, (n))
#endif
Are there any other considerations I need to make? Post/email is
fine.
Thanx, Simon.
___________________________________________________________________________
Simon Marshall, Dept. of Computer Science, University of Hull, Hull HU6 7RX, UK
"``La la la la la la la la la'' means I love you."