unicpy

Copies the Unicode string into an array.

Library:LibC
Service:Characters and Strings

Syntax

  #include <unilib.h> 
   
  unicode_t *unicpy (
     unicode_t         *tgt,
     const unicode_t   *src);
  

Parameters

tgt

(OUT) Points to the array for the copied string.

src

(IN) Points to the array for the Unicode string to copy.

Return Values

Returns the address of the tgt parameter.

Remarks

The unicpy function corresponds to the strcpy function.

The unicpy function copies the string pointed to by src (including the null-terminating character) into the array pointed to by tgt. Copying of overlapping objects is not guaranteed to work properly.

See Also