summaryrefslogtreecommitdiff
path: root/doc/posix-functions/strcpy.texi
blob: cdd3196d923b18f5c3452fc0bd4740120e341a90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@node strcpy
@section @code{strcpy}
@findex strcpy

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/strcpy.html}

Gnulib module: string

Portability problems fixed by Gnulib:
@itemize
@item
This function cannot be called from plain inline or extern inline functions
on some platforms:
OS X 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}.