the parameter in c

  • The qsort () function in C The qsort () function in C void qsort function (void * base, so-phan-tu, kich-co, int (* compar) (const void *, const void *)) arranges an array.
  • The function ldiv () in C The function ldiv () in C the div_t div function (long int numer, long int denom) divides the numerator numer to denom.
  • The function mblen () in C The function mblen () in C the function int mblen (const char * str, n) returns the length of a multi-byte char pointed to by parameter str.
  • The function mbstowcs () in C The function mbstowcs () in C 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.
  • The function mbtowc () in C The function mbtowc () in C int mbtowc (wchar_t * pwc, const char * str, n) converts a range of bytes into a wide char.
  • The function memcmp () in C The function memcmp () in C 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 rewind () function in C The rewind () function in C the void rewind function (file * stream) in standard c library sets the file location to the beginning of the file in the given stream.
  • The function fread () in C The function fread () in C 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 freopen () in C Function freopen () in C 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 file in stream.