www.delorie.com/djgpp/doc/libc-2.01/libc_463.html   search  
Go to the first, previous, next, last section, table of contents.


memset

Syntax

#include <string.h>

void *memset(void *buffer, int ch, size_t num);

Description

This function stores num copies of ch, starting at buffer. This is often used to initialize objects to a known value.

Return Value

buffer

Example

struct tm t;
memset(&t, 0, sizeof(t));


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997