ustrncat (3) - Linux Manuals
ustrncat: Concatenates a string to another one, specifying size. Allegro game programming library.
Command to display ustrncat
manual in Linux: $ man 3 ustrncat
NAME
ustrncat - Concatenates a string to another one, specifying size. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
char *ustrncat(char *dest, const char *src, int n);
DESCRIPTION
This function is like ustrcat() except that no more than `n' characters
from `src' are appended to the end of `dest'. If the terminating null
character in `src' is reached before `n' characters have been written, the
null character is copied, but no other characters are written. If `n'
characters are written before a terminating null is encountered, the
function appends its own null character to `dest', so that `n+1' characters
are written. You should try to avoid this function because it is very
easy to overflow the destination buffer. Use ustrzncat instead.
RETURN VALUE
The return value is the value of `dest'.
Pages related to ustrncat
- ustrncmp (3) - Compares up to n letters of two strings. Allegro game programming library.
- ustrncpy (3) - Copies a string into another one, specifying size. Allegro game programming library.
- ustrnicmp (3) - Compares up to n letters of two strings ignoring case. Allegro game programming library.
- ustr (3) - ustr string library functions
- ustr_const (3) - ustr string library constants
- ustrcat (3) - Concatenates a string to another one. Allegro game programming library.
- ustrchr (3) - Finds the first occurrence of a character in a string. Allegro game programming library.
- ustrcmp (3) - Compares two strings. Allegro game programming library.