Xil_Strcat - Xil_Strcat - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

This function appends string2 to string1. This function is a safe version of strcat.

Compares Len bytes from memory1 and memory2

Prototype

s32 Xil_Strcat(char *Str1Ptr, const char *Str2Ptr, const u32 Size);

Parameters

The following table lists the Xil_Strcat function arguments.

Table 1. Xil_Strcat Arguments
Type Member Description
char * Str1Ptr is pointer to string1
const char * Str2Ptr is pointer to string2
const u32 Size is the maximum number of bytes Str1 can hold

Returns

XST_SUCCESS on success and error code on failure