blob: 6bce4d68bba973a4eb94494b29f96504f10a3814 [file] [edit]
@node strcpy
@subsection @code{strcpy}
@findex strcpy
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/strcpy.html}
Gnulib module: string-h
@mindex string-h
Portability problems fixed by Gnulib:
@itemize
@item
This function cannot be called from plain inline or extern inline functions
on some platforms:
macOS 10.8.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize
Note: @code{strcpy (dst, src)} is only safe to use when you can guarantee that
there are at least @code{strlen (src) + 1} bytes allocated at @code{dst}.