DOKK / manpages / debian 12 / publib-dev / memarrfill.3pub.en
MEMARRFILL(3pub) C Programmer's Manual MEMARRFILL(3pub)

memarrfill - fill an array with the value of its first element

#include <publib.h>
void *memarrfill(void *arr, size_t elsize, size_t nelem);

memarrfill sets all elements the array arr to the value of its first element. The array has nelem elements (including the first one), each of which is elsize bytes big.

memarrfill returns its first argument.

publib(3), memfill(3)

Lars Wirzenius (lars.wirzenius@helsinki.fi)

C Programmer's Manual Publib