/* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF */ /* UNIX System Laboratories, Inc. */ /* The copyright notice above does not evidence any */ /* actual or intended publication of such source code. */ #ident "@(#)sccs:lib/mpwlib/zero.c 6.2" /* Zero `cnt' bytes starting at the address `ptr'. Return `ptr'. */ char *zero(p,n) register char *p; register int n; { char *op = p; while (--n >= 0) *p++ = 0; return(op); }