… | |
… | |
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.13 2020/12/11 20:27:00 root Exp $ |
13 | * $Id: fptools.h,v 1.14 2020/12/11 21:59:30 root Exp $ |
14 | */ |
14 | */ |
15 | |
15 | |
16 | #ifndef FPTOOLS_H__ |
16 | #ifndef FPTOOLS_H__ |
17 | #define FPTOOLS_H__ |
17 | #define FPTOOLS_H__ |
18 | |
18 | |
… | |
… | |
55 | char * TOOLEXPORT FP_strdup (char *); |
55 | char * TOOLEXPORT FP_strdup (char *); |
56 | char * TOOLEXPORT FP_strncpy (char *, char *, int); |
56 | char * TOOLEXPORT FP_strncpy (char *, char *, int); |
57 | void * TOOLEXPORT FP_memdup (const void *, int); |
57 | void * TOOLEXPORT FP_memdup (const void *, int); |
58 | int TOOLEXPORT FP_stricmp (const char *, const char *); |
58 | int TOOLEXPORT FP_stricmp (const char *, const char *); |
59 | int TOOLEXPORT FP_strnicmp (const char *, const char *, int); |
59 | int TOOLEXPORT FP_strnicmp (const char *, const char *, int); |
60 | char * TOOLEXPORT FP_strrstr (char *, char *); |
60 | char * TOOLEXPORT FP_strrstr (const char *, const char *); |
61 | char * TOOLEXPORT FP_stoupper (char *); |
61 | char * TOOLEXPORT FP_stoupper (char *); |
62 | char * TOOLEXPORT FP_stolower (char *); |
62 | char * TOOLEXPORT FP_stolower (char *); |
63 | int TOOLEXPORT FP_strmatch (char *, char *); |
63 | int TOOLEXPORT FP_strmatch (char *, char *); |
64 | char * TOOLEXPORT FP_stristr (char *, char *); |
64 | char * TOOLEXPORT FP_stristr (char *, char *); |
65 | char * TOOLEXPORT FP_strirstr (char *, char *); |
65 | char * TOOLEXPORT FP_strirstr (char *, char *); |