#include "petscsys.h" PetscErrorCode PetscStrlcat(char s[],const char t[],size_t n)Not Collective
s | - pointer to string to be added to at end | |
t | - string to be added | |
n | - length of the original allocated string |
Unlike the system call strncat(), the length passed in is the length of the original allocated space, not the length of the left-over space. This is similar to the BSD system call strlcat().