ack/lang/m2/libm2/StrAss.c
1987-05-13 14:36:45 +00:00

14 lines
218 B
C

_StringAssign(dstsiz, srcsiz, dstaddr, srcaddr)
register char *dstaddr, *srcaddr;
{
while (srcsiz > 0) {
*dstaddr++ = *srcaddr++;
srcsiz--;
dstsiz--;
}
while (dstsiz > 0) {
*dstaddr++ = 0;
dstsiz--;
}
}