STPCPY(3) NEWLIB STPCPY(3)NAME
6.14 `stpcpy'--copy string returning a pointer to its end
SYNOPSIS
#include <string.h>
char *stpcpy(char *DST, const char *SRC);
DESCRIPTION
`stpcpy' copies the string pointed to by SRC (including the terminating
null character) to the array pointed to by DST.
RETURNS
This function returns a pointer to the end of the destination string,
thus pointing to the trailing ' '.
PORTABILITY
`stpcpy' is a GNU extension, candidate for inclusion into POSIX/SUSv4.
`stpcpy' requires no supporting OS subroutines.
SEE ALSOstpcpy is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 STPCPY(3)