34 lines
778 B
C
34 lines
778 B
C
|
|
/*************
|
||
|
|
* Header file for string.c
|
||
|
|
* 1999 E. Rouat
|
||
|
|
************/
|
||
|
|
|
||
|
|
#ifndef STRING_H_INCLUDED
|
||
|
|
#define STRING_H_INCLUDED
|
||
|
|
|
||
|
|
int prefix(register char *p, register char *s);
|
||
|
|
char * copy(char *str);
|
||
|
|
int substring(register char *sub, register char *str);
|
||
|
|
void appendc(char *s, char c);
|
||
|
|
int scannum(char *str);
|
||
|
|
int cieq(register char *p, register char *s);
|
||
|
|
int ciprefix(register char *p, register char *s);
|
||
|
|
void strtolower(char *str);
|
||
|
|
char * gettok(char **s);
|
||
|
|
|
||
|
|
#ifndef HAVE_INDEX
|
||
|
|
|
||
|
|
char * index(register char *s, register char c);
|
||
|
|
char * rindex(register char *s,register char c );
|
||
|
|
|
||
|
|
#endif /* HAVE_INDEX */
|
||
|
|
|
||
|
|
#ifndef HAVE_BCOPY
|
||
|
|
|
||
|
|
void bcopy(register char *from, register char *to, register int num);
|
||
|
|
int bzero(register char *ptr, register int num);
|
||
|
|
|
||
|
|
#endif /* HAVE_BCOPY */
|
||
|
|
|
||
|
|
#endif
|