mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
52 lines
1.6 KiB
C
52 lines
1.6 KiB
C
/****************************************************************
|
|
*
|
|
* string.h - string processing
|
|
*
|
|
* February 1989
|
|
* Mike Westerfield
|
|
*
|
|
* Copyright 1989
|
|
* Byte Works, Inc.
|
|
*
|
|
****************************************************************/
|
|
|
|
#ifndef __string__
|
|
#define __string__
|
|
|
|
#ifndef __size_t__
|
|
#define __size_t__ 1
|
|
typedef unsigned long size_t;
|
|
#endif
|
|
|
|
#ifndef NULL
|
|
#define NULL (void *) 0L
|
|
#endif
|
|
|
|
char *c2pstr(char *);
|
|
void *memchr(const void *, int, size_t);
|
|
int memcmp(const void *, const void *, size_t);
|
|
void *memcpy(void *, const void *, size_t);
|
|
void *memmove(void *, const void *, size_t);
|
|
void *memset(void *, int, size_t);
|
|
char *p2cstr(char *);
|
|
char *strcat(char *, const char *);
|
|
char *strchr(const char *, int);
|
|
int strcmp(const char *, const char *);
|
|
char *strcpy(char *, const char *);
|
|
size_t strcspn(const char *, const char *);
|
|
char *strerror(int);
|
|
size_t strlen(const char *);
|
|
char *strncat(char *, const char *, size_t);
|
|
int strncmp(const char *, const char *, size_t);
|
|
char *strncpy(char *, const char *, size_t);
|
|
char *strpbrk(const char *, const char *);
|
|
int strpos(char *, char);
|
|
char *strrchr(const char *, int);
|
|
char *strrpbrk(char *, char *);
|
|
int strrpos(char *, char);
|
|
size_t strspn(const char *, const char *);
|
|
char *strstr(const char *, const char *);
|
|
char *strtok(char *, const char *);
|
|
|
|
#endif
|