Man page - sdl_strlcat(3)
Packages contas this manual
Manual
| SDL_strlcat(3) | SDL3 FUNCTIONS | SDL_strlcat(3) |
NAME
SDL_strlcat - Concatenate strings.
HEADER FILE
Defined in SDL3/SDL_stdinc.h
SYNOPSIS
#include "SDL3/SDL.h"
size_t SDL_strlcat(char *dst, const char *src, size_t maxlen);
DESCRIPTION
This function appends up to maxlen
• SDL_strlen (dst) - 1 characters from src to the end of the string in dst , then appends a null terminator. src and dst must not overlap.
If maxlen
• SDL_strlen (dst) - 1 is less than or equal to 0, then dst is unmodified.
FUNCTION PARAMETERS
RETURN VALUE
Returns the length (in characters, excluding the null terminator) of the string in dst plus the length of src .
THREAD SAFETY
It is safe to call this function from any thread.
AVAILABILITY
This function is available since SDL 3.2.0.
SEE ALSO
•(3), SDL_strlcpy(3)
| SDL 3.2.10 | Simple Directmedia Layer |