memset(3) Library Functions Manual memset(3) memset - C (libc, -lc) #include void *memset(void s[.n], int c, size_t n); memset() n , s, c. memset() s. attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |memset() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. POSIX.1-2001, C89, SVr4, 4.3BSD. bstring(3), bzero(3), swab(3), wmemset(3) () aereiae , Alexey , Azamat Hackimov , Dmitriy S. Seregin , Dmitry Bolkhovskikh , ITriskTI , Max Is , Yuri Kozlov , ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . memset(3)