Wednesday, November 30, 2016

C Searching and sorting utilities Functions

Searching and sorting utilities Functions:
bsearch void *bsearch(const void *key, const void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
bsearch_s(C11) void *bsearch(const void *key, const void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *), void *context);
qsort void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
qsort_s(C11) void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *)*), void *context);

stdlib.h
Numeric conversion Functions
Pseudo-random sequence generation Functions
Memory management Functions
Communication with the environment Functions
Searching and sorting utilities Functions
Integer arithmetic Functions
Multibyte/wide character conversion Functions
Multibyte/wide string conversion Functions


Related topics:
Library Functions in C   |   Standard Library in C   |   Header Files in C   |   Functions in C   |   Keywords in C   |   Data Types in C   |   Pointers in C

List of topics: C Programming

No comments:

Post a Comment