… | |
… | |
8 | /* |
8 | /* |
9 | * Some handy, nonstandard functions. Note that the original may |
9 | * Some handy, nonstandard functions. Note that the original may |
10 | * be both faster and better. ``better'', if your compiler allows |
10 | * be both faster and better. ``better'', if your compiler allows |
11 | * cleaner use of such functions by proper use of ``const''. |
11 | * cleaner use of such functions by proper use of ``const''. |
12 | * |
12 | * |
13 | * $Id: fptools.h,v 1.8 2009/09/15 17:03:36 root Exp $ |
13 | * $Id: fptools.h,v 1.9 2020/02/09 15:06:43 root Exp $ |
14 | */ |
14 | */ |
15 | |
15 | |
16 | #ifndef FPTOOLS_H__ |
16 | #ifndef FPTOOLS_H__ |
17 | #define FPTOOLS_H__ |
17 | #define FPTOOLS_H__ |
18 | |
18 | |
… | |
… | |
61 | |
61 | |
62 | void TOOLEXPORT _FP_free (void *); |
62 | void TOOLEXPORT _FP_free (void *); |
63 | char * TOOLEXPORT _FP_strdup (char *); |
63 | char * TOOLEXPORT _FP_strdup (char *); |
64 | char * TOOLEXPORT _FP_strncpy (char *, char *, int); |
64 | char * TOOLEXPORT _FP_strncpy (char *, char *, int); |
65 | void * TOOLEXPORT _FP_memdup (void *, int); |
65 | void * TOOLEXPORT _FP_memdup (void *, int); |
66 | int TOOLEXPORT _FP_stricmp (char *, char *); |
66 | int TOOLEXPORT _FP_stricmp (const char *, const char *); |
67 | int TOOLEXPORT _FP_strnicmp (char *, char *, int); |
67 | int TOOLEXPORT _FP_strnicmp (const char *, const char *, int); |
68 | char * TOOLEXPORT _FP_strrstr (char *, char *); |
68 | char * TOOLEXPORT _FP_strrstr (char *, char *); |
69 | char * TOOLEXPORT _FP_stoupper (char *); |
69 | char * TOOLEXPORT _FP_stoupper (char *); |
70 | char * TOOLEXPORT _FP_stolower (char *); |
70 | char * TOOLEXPORT _FP_stolower (char *); |
71 | int TOOLEXPORT _FP_strmatch (char *, char *); |
71 | int TOOLEXPORT _FP_strmatch (char *, char *); |
72 | char * TOOLEXPORT _FP_stristr (char *, char *); |
72 | char * TOOLEXPORT _FP_stristr (char *, char *); |
73 | char * TOOLEXPORT _FP_strirstr (char *, char *); |
73 | char * TOOLEXPORT _FP_strirstr (char *, char *); |
74 | char * TOOLEXPORT _FP_strrchr (char *, int); |
74 | char * TOOLEXPORT _FP_strrchr (char *, int); |
75 | char * TOOLEXPORT _FP_fgets (char *, int, FILE *); |
75 | char * TOOLEXPORT _FP_fgets (char *, int, FILE *); |
76 | char * TOOLEXPORT _FP_strpbrk (char *, char *); |
76 | char * TOOLEXPORT _FP_strpbrk (char *, char *); |