OpenBSD manual page server

Manual Page Search Parameters

BZERO(3) Library Functions Manual BZERO(3)

bzerowrite zeroes to a byte string

#include <string.h>

void
bzero(void *b, size_t len);

The () function writes len zero bytes to the string b. If len is zero, bzero() does nothing.

memset(3), swab(3)

The bzero() function first appeared in 4.2BSD.

July 25, 2011 OpenBSD-5.3