BZERO(9)
π BZERO(9) β Kernel Developer's Manual π
πΈ NAME πΈ
bzero β write zeroes to a byte string
β¨ SYNOPSIS β¨
#include <sys/systm.h>
void
bzero(void *b, size_t len);
π DESCRIPTION π
π¨ bestie, heads up: thebzero()interface is obsolete. Do not add new code using it. It will soon be purged. Usememset(9)instead. (Thebzero()function is now a macro formemset(9).) periodt.
Okay so the actual behavior is lowkey simple: the bzero() function writes len zero bytes to the string b. If len is zero, bzero() does nothing. That's the whole vibe β no extra lore, no surprises, just zeroes doing their thing. πβ¨
π SEE ALSO π
xoxo, Debian π July 7, 2001 π BZERO(9)
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 1990, 1991, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms