티스토리 뷰

Delphi

function StrCopy(Dest: PAnsiChar; const Source: PAnsiChar): PAnsiChar;

function StrCopy(Dest: PWideChar; const Source: PWideChar): PWideChar;

C++

extern PACKAGE char * __fastcall StrCopy(char * Dest, const char * Source)/* overload */;

Properties

Type

Visibility

Source

Unit

Parent

function

public

System.SysUtils.pas

System.SysUtils.hpp

System.SysUtils

System.SysUtils

Description

Copies a null-terminated string.

Use StrCopy to copy Source to Dest. 

StrCopy returns Dest.

StrCpy does not perform any length check.

The destination buffer must have room for at least StrLen(Source)+1 characters.

For length check, use the StrLCopy function.

 

null로 끝나는 문자열을 복사합니다.

StrCopy를 사용하여 SourceDest로 복사하십시오.

StrCopyDest를 반환합니다.

StrCpy는 길이 검사를 수행하지 않습니다.

목적지 버퍼는 적어도 StrLen (Source) +1 문자를 위한 공간을 가져야 합니다.

길이 검사에는 StrLCopy 함수를 사용하십시오.

 

출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.SysUtils.StrCopy

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함