bzero/bcopy on Solaris: Summary

From: Munish Jain (
Date: Thu Mar 04 1993 - 09:24:02 CST


Yesterday I posted an article about having problems with
using bzero/bcopy etc on Solaris as they are not defined
in the standard libc.a. I have got many responses to my
posting so far. Thanks to all of you who responded to my
article. The solution is to use following #defines.

#define bzero(b,n) memset(b,0,n)
#define bcopy(b1,b2,n) memcpy(b2,b1,n)
#define bcmp(b1,b2,n) memcmp(b1,b2,n)



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:33 CDT