strcpy
- Updated2023-02-21
- 2 minute(s) read
strcpy
char *strcpy (char targetString[], const char sourceString[]);
Purpose
Copies a source string including the terminating ASCII NUL byte into a target string. If copying takes place between objects that overlap, the behavior is undefined.
Parameters
Input | ||
Name | Type | Description |
sourceString | const char [] | Contains a pointer to the NUL-terminated source string that is copied into the target string. |
Output | ||
Name | Type | Description |
targetString | char [] | Contains the target string to which the source string is copied including the terminating ASCII NUL byte. |
Return Value
Name | Type | Description |
returnedTargetString | char * | Contains a pointer to the modified target string. |
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later