text: #include "str.h"
  
  #ifdef USE_STR
  
  error str_ncat_(struct str *const s, char const *const s2, size_t const s2len MEM_FILEPOS_PARAMS) {
    if (!s || !s2) {
      return errg(err_invalid_arugment);
    }
  
    error err = str_grow(s, s->len + s2len + 1 MEM_FILEPOS_VALUES_PASSTHRU);
    if (efailed(err)) {
      err = ethru(err);
      return err;
    }
    strncat(s->ptr, s2, s2len);
    s->len += strlen(s->ptr + s->len);
    return eok();
  }
  
  #endif
  