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 ([email protected])