ustrncpy (3) - Linux Manuals
ustrncpy: Copies a string into another one, specifying size. Allegro game programming library.
Command to display ustrncpy
manual in Linux: $ man 3 ustrncpy
NAME
ustrncpy - Copies a string into another one, specifying size. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
char *ustrncpy(char *dest, const char *src, int n);
DESCRIPTION
This function is like ustrcpy() except that no more than `n' characters
from `src' are copied into `dest'. If `src' is shorter than `n' characters,
null characters are appended to `dest' as padding until `n' characters have
been written.
Note that if `src' is longer than `n' characters, `dest' will not be
null-terminated.
RETURN VALUE
The return value is the value of `dest'.
Pages related to ustrncpy
- ustrncat (3) - Concatenates a string to another one, specifying size. Allegro game programming library.
- ustrncmp (3) - Compares up to n letters of two strings. 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.