Changeset 1214 for trunk/src/kash/mystring.h
- Timestamp:
- Oct 7, 2007, 10:39:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/mystring.h
r1207 r1214 35 35 */ 36 36 37 #ifndef ___mystring_h 38 #define ___mystring_h 39 37 40 #include <string.h> 38 #include "sh instance.h"41 #include "shtypes.h" /* ssize_t */ 39 42 40 43 void scopyn(const char *, char *, ssize_t); 41 44 int prefix(const char *, const char *); 42 int number(s hinstance *, const char *);45 int number(struct shinstance *, const char *); 43 46 int is_number(const char *); 47 #ifdef _MSC_VER 48 size_t strlcpy(char *dst, const char *src, size_t siz); 49 #endif 44 50 45 51 #define equal(s1, s2) (strcmp(s1, s2) == 0) 46 52 #define scopy(s1, s2) ((void)strcpy(s2, s1)) 53 54 #endif
Note:
See TracChangeset
for help on using the changeset viewer.