Query: ustrncat
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ustrncat(3alleg4) Allegro manual ustrncat(3alleg4)NAMEustrncat - 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);DESCRIPTIONThis 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 writ- ten. 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 ustrzn- cat instead.RETURN VALUEThe return value is the value of `dest'.SEE ALSOuconvert(3alleg4), ustrcat(3alleg4), ustrzncat(3alleg4) Allegro version 4.4.2 ustrncat(3alleg4)
Related Man Pages |
---|
ustrzcpy(3alleg4) - suse |
ustrzncpy(3alleg4) - centos |
ustrzncpy(3alleg4) - suse |
ustrzncpy(3alleg4) - osx |
ustrzncpy(3alleg4) - netbsd |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Introduction |
One instance of comparing grep and awk |
Find columns in a file based on header and print to new file |
My first PERL incarnation... Audio Oscillograph |