Search results: the parameter in c

void qsort function (void * base, so-phan-tu, kich-co, int (* compar) (const void *, const void *)) arranges an array.

the div_t div function (long int numer, long int denom) divides the numerator numer to denom.

the function int mblen (const char * str, n) returns the length of a multi-byte char pointed to by parameter str.

function size_t mbstowcs (* pwcs, const char * str, n) converts the sequence of multi-byte char points pointed to by the parameter str to the array pointed to by pwcs.

int mbtowc (wchar_t * pwc, const char * str, n) converts a range of bytes into a wide char.

the function int memcmp (const void * str1, const void * str2, size_t n)) compares the first n bytes of two strings str1 and str2.

the void rewind function (file * stream) in standard c library sets the file location to the beginning of the file in the given stream.

function size_t fread (void * ptr, size_t size, size_t nmemb, file * stream) in standard c library reads data from the given stream into the pointed array, by ptr.

function file * freopen (const char * filename, const char * mode, file * stream) in library c attaches a new filename with the given stream and at the same time closes the old