Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>memset</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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));


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson