ucx/comparator.h

changeset 91
91595a45fad6
parent 89
47f7fdbddb62
child 92
7625a8efcc97
     1.1 --- a/ucx/comparator.h	Wed Feb 27 10:28:02 2013 +0100
     1.2 +++ b/ucx/comparator.h	Wed Feb 27 10:35:42 2013 +0100
     1.3 @@ -47,6 +47,15 @@
     1.4   */
     1.5  int ucx_ptrcmp(void *ptr1, void *ptr2, void *data);
     1.6  
     1.7 +/**
     1.8 + * Compares two memory areas.
     1.9 + * @param ptr1 pointer one
    1.10 + * @param ptr2 pointer two
    1.11 + * @param n a pointer to the size_t containing the third parameter for memcmp
    1.12 + * @return the result of memcmp(ptr1, ptr2, *n)
    1.13 + */
    1.14 +int ucx_memcmp(void *ptr1, void *ptr2, void *n);
    1.15 +
    1.16  #ifdef	__cplusplus
    1.17  }
    1.18  #endif

mercurial