diff options
| author | J.T. Conklin <jtc@FreeBSD.org> | 1993-08-05 18:28:27 +0000 |
|---|---|---|
| committer | J.T. Conklin <jtc@FreeBSD.org> | 1993-08-05 18:28:27 +0000 |
| commit | a5ebd84e62c76a7ed0d157016ca3745583181a8e (patch) | |
| tree | 64cb2831b24d3f5002a9a9ec1426e82c6d6bb5d4 /gnu/libexec/uucp/libuucp/bzero.c | |
| parent | 4ff3cd9d3ddeda602fd8b7717b2a6e4445852c69 (diff) | |
Notes
Diffstat (limited to 'gnu/libexec/uucp/libuucp/bzero.c')
| -rw-r--r-- | gnu/libexec/uucp/libuucp/bzero.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/libexec/uucp/libuucp/bzero.c b/gnu/libexec/uucp/libuucp/bzero.c new file mode 100644 index 000000000000..098e5515728c --- /dev/null +++ b/gnu/libexec/uucp/libuucp/bzero.c @@ -0,0 +1,15 @@ +/* bzero.c + Zero out a buffer. */ + +#include "uucp.h" + +void +bzero (parg, c) + pointer parg; + int c; +{ + char *p = (char *) parg; + + while (c-- != 0) + *p++ = 0; +} |
