bzero() — Zero Out Bytes in Memory

Standards/Extensions C or C++ Dependencies
XPG4.2 both  

Format

#define  _XOPEN_SOURCE_EXTENDED 1
#include <strings.h>

void bzero(const void *s, size_t n);

General Description

Places n zero-valued bytes in the area pointed to by s.

Returned Value

The bzero() function has no returned value.

No errnos are defined for bzero().

Related Information

  • strings.h
  • bcmp() — Compare Bytes in Memory
  • bcopy() — Copy Bytes in Memory
  • memset() — Set Buffer to Value