diff options
author | Guido Guenther <agx@sigxcpu.org> | 2006-11-18 23:48:07 +0100 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2006-11-18 23:48:07 +0100 |
commit | d1e063beb43e595680c65e3804d1f8ddff53373b (patch) | |
tree | f7256dfe1b807920270ec5113df6f6e4abf1ed0f /arclib/string.h |
Imported Debian version 0.3.8.80.3.8.8
Diffstat (limited to 'arclib/string.h')
-rw-r--r-- | arclib/string.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arclib/string.h b/arclib/string.h new file mode 100644 index 0000000..53bf111 --- /dev/null +++ b/arclib/string.h @@ -0,0 +1,23 @@ +/* + * Copyright 1999 Silicon Graphics, Inc. + * 2001 Guido Guenther <agx@sigxcpu.org> + */ +#ifndef _STRING_H_ +#define _STRING_H_ + +#include "stddef.h" + +extern size_t strlen(const char *s); +extern int strcmp(const char *s1,const char *s2); +extern int strncmp(const char *s1, const char *s2, size_t n); +extern char *strchr(const char *s, int c); +extern char *strcpy(char *s1, const char *s2); +extern char *strncpy(char *s1, const char *s2, size_t n); +extern char *strdup(const char *s1); + +extern void *memcpy(void *s1, const void *s2, size_t n); +extern void *memset(void *s, int c, size_t n); +int memcmp(const void * cs,const void * ct,size_t count); +extern void __bzero(char *p, int len); + +#endif /* _STRING_H_ */ |