home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CBM Funet Archive
/
cbm-funet-archive-2003.iso
/
cpm
/
programming
/
HiTech_C
/
z80v309.lzh
/
STRING.H
< prev
next >
Wrap
Text File
|
1993-10-26
|
1KB
|
37 lines
/*sTRING FUNCTIONS */
#IFNDEF_stddef
TYPEDEFINTPTRDIFF_T;/* RESULT TYPE OF POINTER DIFFERENCE */
TYPEDEFUNSIGNEDSIZE_T;/* TYPE YIELDED BY SIZEOF */
#DEFINE_stddef
#DEFINEOFFSETOF(TY, MEM)((INT)&(((TY *)0)->MEM))
#ENDIF_stddef
#IFNDEFnull
#DEFINEnull((VOID *)0)
#ENDIFnull
EXTERN INTERRNO;/* SYSTEM ERROR NUMBER */
EXTERN VOID *MEMCPY(VOID *, VOID *, SIZE_T);
EXTERN VOID *MEMMOVE(VOID *, VOID *, SIZE_T);
EXTERN CHAR *STRCPY(CHAR *, CHAR *);
EXTERN CHAR *STRNCPY(CHAR *, CHAR *, SIZE_T);
EXTERN CHAR *STRCAT(CHAR *, CHAR *);
EXTERN CHAR *STRNCAT(CHAR *, CHAR *, SIZE_T);
EXTERN INTMEMCMP(VOID *, VOID *, SIZE_T);
EXTERN INTSTRCMP(CHAR *, CHAR *);
EXTERN INTSTRNCMP(CHAR *, CHAR *, SIZE_T);
EXTERN SIZE_TSTRCOLL(CHAR *, SIZE_T, CHAR *);
EXTERN VOID *MEMCHR(VOID *, INT, SIZE_T);
EXTERN SIZE_TSTRCSPN(CHAR *, CHAR *);
EXTERN CHAR *STRPBRK(CHAR *, CHAR *);
EXTERN SIZE_TSTRSPN(CHAR *, CHAR *);
EXTERN CHAR *STRSTR(CHAR *, CHAR *);
EXTERN CHAR *STRTOK(CHAR *, CHAR *);
EXTERN VOID *MEMSET(VOID *, INT, SIZE_T);
EXTERN CHAR *STRERROR(INT);
EXTERN SIZE_TSTRLEN(CHAR *);
EXTERN CHAR *STRCHR(CHAR *, INT);
EXTERN CHAR *STRRCHR(CHAR *, INT);