|
NAMEmemrev - reverse an array in placeSYNOPSIS#include <publib.h> void *memrev(void *block, size_t elsize, size_t elnum); DESCRIPTIONmemrev will reverse an array, by swapping the contents of its elements.RETURN VALUEmemrev returns its first argument.EXAMPLETo reverse an integer array one might do the following.
SEE ALSOpublib(3), strrev(3), memshuffle(3)AUTHORLars Wirzenius (lars.wirzenius@helsinki.fi)
Visit the GSP FreeBSD Man Page Interface. |