Lstrbcpy

Copies a string to a null-terminated string, removing any trailing blanks.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <string.h> 
   
  char *Lstrbcpy (
     char         *dst,   
     const char   *src,
     size_t        size);
  

Parameters

dst

(OUT) Points to the array into which to copy the string.

src

(IN) Points to the string to be copied that has trailing blanks.

size

(IN) Specifies the number of bytes in the source string.

Return Values

Returns dst.

Remarks

The Lstrbcpy function is a double-byte character interface. Copying of overlapping objects is not guaranteed to work properly.

See Also