~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/m_string.h

  • Committer: Brian Aker
  • Date: 2008-08-09 05:05:31 UTC
  • mfrom: (266.1.9 codestyle)
  • Revision ID: brian@tangent.org-20080809050531-4arg5nbg1c5u0xy5
Merging Monty's work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
extern void *(*my_str_malloc)(size_t);
58
58
extern void (*my_str_free)(void *);
59
59
 
60
 
#if defined(HAVE_STPCPY)
61
60
#define strmov(A,B) stpcpy((A),(B))
62
 
#endif
63
61
 
64
 
#ifdef BAD_STRING_COMPILER
65
 
#define strmov(A,B)  (memccpy(A,B,0,INT_MAX)-1)
66
 
#else
67
 
#define strmov_overlapp(A,B) strmov(A,B)
 
62
#define strmov_overlapp(A,B) stpcpy(A,B)
68
63
#define strmake_overlapp(A,B,C) strmake(A,B,C)
69
 
#endif
70
64
 
71
65
#if (!defined(USE_BMOVE512) || defined(HAVE_purify)) && !defined(bmove512)
72
66
#define bmove512(A,B,C) memcpy(A,B,C)
93
87
extern  char *strmake_overlapp(char *dst,const char *src, size_t length);
94
88
#endif
95
89
 
96
 
#ifndef strmov
97
 
extern  char *strmov(char *dst,const char *src);
98
 
#endif
99
90
extern  char *strnmov(char *dst,const char *src,size_t n);
100
91
extern  char *strsuff(const char *src,const char *suffix);
101
92
extern  char *strcont(const char *src,const char *set);