#ifndef H_CRstring_H
#define H_CRstring_H
/* Any ctrl char counts as terminator

$Id: CRstring,v 1.4 2002/01/05 18:42:10 joseph Exp $

*/

#ifdef __cplusplus
extern "C" {
#endif

#ifndef POPNDEBUG
char *CRstrcpy(char *s1, const char *s2);
#endif

/* strlenC counts NULL pointers as zero length strings */
int CRstrlen(const char *s);

char *CRstrncpy(char *s1, const char *s2, int n);
int CRstrincmp(const char *s1, const char *s2, int n);
char *CRstrcat(char *s1, const char *s2);

/* Changes terminator and returns result */
char *CRstrterm(char *s, char terminator);

/* Makes a duplicate of s using malloc */
char *CRstrdup(const char *s);

#ifdef __cplusplus
}
#endif

#endif
