The outage for Sunday 24th November has been cancelled.
Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
stringcat.c File Reference
#include <ctype.h>
#include <string.h>

Go to the source code of this file.

Functions

char * blStrncat (char *out, const char *in, size_t len)
 

Function Documentation

char* blStrncat ( char *  out,
const char *  in,
size_t  len 
)
Parameters
[in]*inInput string to be appended
[in]lenLength of output string
[in,out]*outString that we are appending to

A simpler version of strncat. strncat takes the max number of chars to be appended whereas this takes the max number of chars that 'out' can hold.

  • 16.01.15 Original By: ACRM
  • 04.06.15 Fixed - was subtracting the input string length as well!

Definition at line 97 of file stringcat.c.