summaryrefslogtreecommitdiff
path: root/doc/posix-functions/strcpy.texi
blob: 89c6cd32d1d90fa67d114a438b3d1e7bf3c800ca (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{http://www.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}.