run the command in c

  • Memmove function in C

    Memmove function in C

    void function * memmove (void * str1, const void * str2, size_t n) copy n characters from str2 to str1, but to solve the matching of memory blocks, memmove () is a safe approach more than memcpy ().
  • Memset () function in C

    Memset () function in C

    the function void * memset (void * str, int c, size_t n) copies the character c (an unsigned char) to the first n characters of the string pointed to by parameter str.
  • Strcat function in C

    Strcat function in C

    the char * strcat function (char * dest, const char * src) append the string pointed to by src, at the end of the string pointed to by dest.
  • The function strcmp () in C

    The function strcmp () in C

    the function int strcmp (const char * str1, const char * str2) compares the string pointed to by sr1 with the string pointed to by srt2.
  • The function strncmp () in C

    The function strncmp () in C

    the function int strncmp (const char * str1, const char * str2, size_t n) compares the first n bytes of str1 and str2.
  • The strcoll () function in C

    The strcoll () function in C

    the function int strcoll (const char * str1, const char * str2) compares strings str1 and str2. the result depends on setting lc_collate.
  • Strcpy () function in C

    Strcpy () function in C

    char * strcpy function (char * dest, const char * src) copies the string pointed to by src to dest.
  • The function strpbrk () in C

    The function strpbrk () in C

    char * strpbrk (const char * str1, const char * str2) finds the first character in str1 string that connects any character specified in str2. (not including null ending characters).
  • The strrchr () function in C

    The strrchr () function in C

    char * strrchr (const char * str, int c) looks for the last occurrence of the character c (an unsigned char) in the string pointed to by parameter str.
  • Function strxfrm () in C

    Function strxfrm () in C

    the function size_t strxfrm (char * dest, const char * src, size_t n) transforms the first n characters of the src string into the current locale and places them in dest string.
  • The strstr () function in C

    The strstr () function in C

    char * function strstr (const char * haystack, const char * needle) looks for the final occurrence of the whole needle string (not including the ending null character) that is present in the haystack string.