Home > Electronics Tutorials > C Language Tutorial > string.h - memset

C Language Programming Library Reference Guide

string.h - memset

Declaration: void *memset(void *str, int c, size_t n); Copies the character c (an unsigned char) to the first n characters of the string pointed to by the argument str.

The argument str is returned.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster