SCCS-vsn: lib/libc/string/bcopy.c 5.4
SCCS-vsn: lib/libc/string/bzero.c 5.3
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)bcopy.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)bcopy.c 5.4 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)bzero.c 5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)bzero.c 5.3 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
/*
#endif /* LIBC_SCCS and not lint */
/*
- if (length)
- do
- *b++ = '\0';
- while (--length);
- return(length);
+ while (length--)
+ *b++ = '\0';