memset
-
memset 그리고 classIT/Linux C 2011. 6. 2.
memset은 메모리의 값을 초기화 하는 함수이다. man 페이지를 보면 설명이 나온다. MEMSET(3) BSD Library Functions Manual MEMSET(3) NAME memset -- fill a byte string with a byte value LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include void * memset(void *b, int c, size_t len); DESCRIPTION The memset() function writes len bytes of value c (converted to an unsigned char) to the byte string b. RETURN VALUES The memset() func..