brad@bradley.UUCP (01/16/85)
I am looking for any info as to what 'bcopy' does. I am trying
to get sendmail on my 11/44 working (2.9BSD) and 2 undefines show
up, 'bzero' and 'bcopy'. I can kind of figure out what bzero is.
I figure something like;
bzero(c,i)
char *c;
int i;
{
while(i--)
*cp++=0;
}
But I can't figure out what is bcopy. It looks like a strncpy.
thanks inadvance.
Bradley Smith UUCP: {cepu,ihnp4,noao,uiucdcs}!bradley!brad
Text Processing ARPA: cepu!bradley!brad@UCLA-LOCUS
Bradley University PH: (309) 676-7611 Ext. 446
Peoria, IL 61625
ron@brl-tgr.ARPA (Ron Natalie <ron>) (01/18/85)
> But I can't figure out what is bcopy. It looks like a strncpy. It is except that it doesn't stop on null. bcopy(from, to, count) char *from, *to; int count; { while(count--) *to++ = *from++; }