ustrzncat(3alleg4)

ustrzncat3alleg4

Concatenates a string to another one, specifying size. allegro game programming library.

Usage

#include <allegro.h>

char *ustrzncat(char *dest, int size, const char *src, int n);

Overview

This function is like ustrzcat() 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. Note that `dest' is guaranteed to be null-terminated.

Return value

The return value is the value of `dest'.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.