logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_wcslcat - Concatenate wide strings.

Availability

       This function is available since SDL 3.2.0.

Description

       This  function appends up to maxlen - SDL_wcslen(dst) - 1 wide characters from src to the end of the wide
       string in dst, then appends a null terminator.

       src and dst must not overlap.

       If maxlen - SDL_wcslen(dst) - 1 is less than or equal to 0, then dst is unmodified.

Function Parameters

dst    The destination buffer already containing the first null-terminated wide string. Must not be  NULL
              and must not overlap with src.

       src    The second null-terminated wide string. Must not be NULL, and must not overlap with dst.

       maxlen The length (in wide characters) of the destination buffer.

Name

       SDL_wcslcat - Concatenate wide strings.

Return Value

       Returns  the  length  (in  wide  characters, excluding the null terminator) of the string in dst plus the
       length of src.

See Also

SDL_wcslcpy(3)

Simple Directmedia Layer                           SDL 3.2.20                                     SDL_wcslcat(3)

Synopsis

#include<SDL3/SDL_stdinc.h>size_tSDL_wcslcat(wchar_t*dst,constwchar_t*src,size_tmaxlen);

Thread Safety

       It is safe to call this function from any thread.

See Also