130423Smckusick /* 230423Smckusick * Copyright (c) 1987 Regents of the University of California. 335110Sbostic * All rights reserved. 435110Sbostic * 5*42635Sbostic * %sccs.include.redist.c% 630423Smckusick */ 730423Smckusick 830423Smckusick #if defined(LIBC_SCCS) && !defined(lint) 9*42635Sbostic static char sccsid[] = "@(#)bzero.c 5.5 (Berkeley) 06/01/90"; 1035110Sbostic #endif /* LIBC_SCCS and not lint */ 1130423Smckusick 1242146Sbostic #include <string.h> 1342146Sbostic 1430423Smckusick /* 1530423Smckusick * bzero -- vax movc5 instruction 1630423Smckusick */ 1742146Sbostic void 1830423Smckusick bzero(b, length) 1930423Smckusick register char *b; 2042146Sbostic register size_t length; 2130423Smckusick { 2230423Smckusick 2337247Sbostic while (length--) 2437247Sbostic *b++ = '\0'; 2530423Smckusick } 26