BZERO(9)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸ’– 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: the bzero() interface is obsolete. Do not add new code using it. It will soon be purged. Use memset(9) instead. (The bzero() function is now a macro for memset(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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms