diff options
author | Werner Koch <[email protected]> | 1998-01-05 19:13:15 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-01-05 19:13:15 +0000 |
commit | e1117ae4a1bfc0bb644432b41ef90fead9a731cb (patch) | |
tree | 94318967baa939ebb198adaca70ad31caf0c1f54 /util/strgutil.c | |
parent | added more stuff (diff) | |
download | gnupg-e1117ae4a1bfc0bb644432b41ef90fead9a731cb.tar.gz gnupg-e1117ae4a1bfc0bb644432b41ef90fead9a731cb.zip |
NT version compilesV0-0-0
Diffstat (limited to 'util/strgutil.c')
-rw-r--r-- | util/strgutil.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/util/strgutil.c b/util/strgutil.c index b517ed5b6..daeefe8ae 100644 --- a/util/strgutil.c +++ b/util/strgutil.c @@ -61,3 +61,20 @@ memistr( char *buf, size_t buflen, const char *sub ) return NULL ; } + +/********************************************* + ********** missing string functions ********* + *********************************************/ + +#ifndef HAVE_STPCPY +char * +stpcpy(char *a,const char *b) +{ + while( *b ) + *a++ = *b++; + *a = 0; + + return (char*)a; +} +#endif + |