#include #include main() { char a[30] = "hello, "; char *b = "world"; strncat(a, b, 3); printf("%s\n", a); exit(0); } /* * ISO C99 Standard: 7.21 String handling * type size_t NULL functions memcpy void *mmemcpy(void *s1, const void *s2, site_t n) memmove void *memmove(void *st, const void *s2, size_t n) strcpy char *strcpy(char *st, const char *s2) strncpy char *strncpy(char *s1, const char *s2, size_t n) strcat char *strcat(char *s1, const char *s2) strncat char *strncat(char *s1, const char *s2, size_t n) memcmp void *memcmp(const void *st, const void *s2, size_t n) strcmp int strcmp(const char *s1, const char *s2) strcoll int strcoll(const char *s1, const char *s2) strncmp int strncmp(const char *s1, const char *s2, size_t n) strxfrm size_t strxfrm(char *s1, const char *s2, size_t n) memchr void *memchr(const void *s, int c, size_t n) strchr char *strchr(const char *s, int c); strcspn size_t strcspn(const char *s1, const char *s2) strpbrk size_t strpbrk(const char *s1, const char *s2) strrchr char *strrchr(const char *s, int c) strspn size_t strspn(const char *s1, const char *s2) strstr char *strstr(const char *s1, const char *s2) strtok char *strtok(char *s1, const char *s2) memset void *memset(void *s, int c, size_t n) strerror char *strerror(int errnum) strlen size_t strlen(const char *s) */