StrPCopy function
Copy an ansistring to a null-terminated string.
Declaration
function StrPCopy(Dest: PAnsiChar; const Source: RawByteString)
: PAnsiChar; overloadDescription
StrPCopy Converts the Ansistring in
Source to a Null-terminated
string, and copies it to
Dest.
Dest needs enough room to contain
the string
Source, i.e.
Length(Source)+1 bytes.
Errors
No checking is performed to see whether
Dest points to enough memory
to contain
Source.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
