References
-
People tell me where to take the source of library functions. All the descriptions are how to use them. How to use me, I'm gonna figure it out. In particular, qsort with prototype:
void qsort (void* base, size_t num, size_t size, int (*compar)(const void*,const void*));
We need a body to figure out what she's doing with the parameter.
compar
-
We need to see what the library is and what the functions are. In this case, you write about the function from the standard library. Its description can be found in the standard or, for example, on the website. http://www.cplusplus.com/reference/cstdlib/qsort/?kw=qsort or http://ru.cppreference.com/w/c/algorithm/qsort ♪ Since this is a standard function, it can be found in sorcs to compilators. A quick search. http://www.takatan.net/lxr/source/lib/qsort.c?v=2.4.21-47.EL ♪
If you need other functions, I'm usually looking for sorcs.