Scroll to navigation

ustrcpy(3alleg4) Allegro manual ustrcpy(3alleg4)

NAME

ustrcpy - Copies a string into another one. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

char *ustrcpy(char *dest, const char *src);

DESCRIPTION

This function copies `src' (including the terminating null character into `dest'. You should try to avoid this function because it is very easy to overflow the destination buffer. Use ustrzcpy instead.

RETURN VALUE

Returns the value of dest.

SEE ALSO

uconvert(3alleg4), ustrzcpy(3alleg4), ustrncpy(3alleg4), exunicod(3alleg4)

version 4.4.3 Allegro