/*
**    Name: csstring_s.h
**
**    Date: Fri Oct 26 18:24:05 2007
**
*/

#ifndef CSSTRING_S
#define CSSTRING_S

#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Capacities include the terminator; copies truncate and always terminate.
 * Zero capacity is a no-op. Unterminated append destinations return NULL. */
extern char *csstrncpy_s(size_t s1n,char *s1, const char *s2, size_t n);
extern char *csstrncat_s(size_t s1n,char *s1, const char *s2, size_t n);

#ifdef __cplusplus
}
#endif

#endif
