|
LIBRARY#include <xtend/string.h> -lxtend SYNOPSISint strptrcmp(const char **p1, const char **p2) ARGUMENTSp1, p2: Pointers to pointers to the strings to compare DESCRIPTIONCompare two strings via indirect pointers. This can be used by qsort(), heapsort(), etc. to sort an argv-style pointer array, swapping only the pointers rather than the string contents.RETURN VALUES0 if the strings are the same, a value < 0 if the string at p1 is lexically < that at p2, a value > 0 otherwise.SEE ALSOstrcmp(3) Visit the GSP FreeBSD Man Page Interface. |