Go to the first, previous, next, last section, table of contents.


strncat

Syntax

#include <string.h>

char *strncat(char *s1, const char *s2, size_t max);

Description

This function concatenates up to max characters of s2 to the end of s1.

Return Value

s1

Portability

ANSI, POSIX

Example

strncat(fname, extension, 4);


Go to the first, previous, next, last section, table of contents.