- Timestamp:
- 07/10/2017 12:02:05 PM (8 years ago)
- Branches:
- master
- Children:
- 39a696b
- Parents:
- 5fa506d
- Location:
- libsm
- Files:
-
- 33 added
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
libsm/index.c
r5fa506d r6262b5c 5 5 ============================================================================ 6 6 */ 7 8 #include "all.h" 7 9 8 10 int8_t *index(int8_t *str, int8_t c) -
libsm/memccpy.c
r5fa506d r6262b5c 11 11 */ 12 12 13 #include "all.h" 14 13 15 void *memccpy(void *vp1, void *vp2, int8_t c, int16_t n) 14 16 { -
libsm/memchr.c
r5fa506d r6262b5c 8 8 ============================================================================= 9 9 */ 10 11 #include "all.h" 10 12 11 13 void *memchr(void *vp, int8_t c, int16_t n) -
libsm/memcmp.c
r5fa506d r6262b5c 7 7 ============================================================================= 8 8 */ 9 10 #include "all.h" 9 11 10 12 int16_t memcmp(void *vp1, void *vp2, int16_t n) -
libsm/memcmpu.c
r5fa506d r6262b5c 6 6 */ 7 7 8 #include " ctype.h"8 #include "all.h" 9 9 10 10 int16_t memcmpu(void *vp1, void *vp2, int16_t n) … … 36 36 return(0); 37 37 } 38 -
libsm/memcpy.c
r5fa506d r6262b5c 8 8 ============================================================================= 9 9 */ 10 11 #include "all.h" 10 12 11 13 void *memcpy(void *vp1, void *vp2, int16_t n) -
libsm/memcpyw.c
r5fa506d r6262b5c 8 8 ============================================================================= 9 9 */ 10 11 #include "all.h" 10 12 11 13 void *memcpyw(void *vp1, void *vp2, int16_t n) -
libsm/memset.c
r5fa506d r6262b5c 9 9 */ 10 10 11 #include "all.h" 12 11 13 void *memset(void *vp, int8_t c, int16_t n) 12 14 { -
libsm/memsetw.c
r5fa506d r6262b5c 9 9 */ 10 10 11 #include "all.h" 12 11 13 void *memsetw(void *vp, int16_t s, int16_t n) 12 14 { -
libsm/rindex.c
r5fa506d r6262b5c 5 5 ============================================================================ 6 6 */ 7 8 #include "all.h" 7 9 8 10 int8_t *rindex(int8_t *str, int8_t c) -
libsm/str2lc.c
r5fa506d r6262b5c 6 6 */ 7 7 8 #include " ctype.h"8 #include "all.h" 9 9 10 10 int8_t *str2lc(int8_t *s) … … 18 18 return(r); 19 19 } 20 -
libsm/str2uc.c
r5fa506d r6262b5c 6 6 */ 7 7 8 #include " ctype.h"8 #include "all.h" 9 9 10 10 int8_t *str2uc(int8_t *s) … … 18 18 return(r); 19 19 } 20 -
libsm/strcat.c
r5fa506d r6262b5c 8 8 ============================================================================= 9 9 */ 10 11 #include "all.h" 10 12 11 13 int8_t *strcat(int8_t *s1, int8_t *s2) -
libsm/strccpy.c
r5fa506d r6262b5c 16 16 */ 17 17 18 #include "all.h" 19 18 20 int8_t *strccpy(int8_t *s1, int8_t *s2, int8_t c) 19 21 { -
libsm/strchr.c
r5fa506d r6262b5c 8 8 */ 9 9 10 # define NULL 010 #include "all.h" 11 11 12 12 int8_t *strchr(int8_t *sp, int8_t c) -
libsm/strcmp.c
r5fa506d r6262b5c 7 7 ============================================================================= 8 8 */ 9 10 #include "all.h" 9 11 10 12 int16_t strcmp(int8_t *s1, int8_t *s2) -
libsm/strcpy.c
r5fa506d r6262b5c 8 8 ============================================================================= 9 9 */ 10 11 #include "all.h" 10 12 11 13 int8_t *strcpy(int8_t *s1, int8_t *s2) -
libsm/strcspn.c
r5fa506d r6262b5c 8 8 ============================================================================ 9 9 */ 10 11 #include "all.h" 10 12 11 13 int16_t strcspn(int8_t *string, int8_t *charset) -
libsm/strfill.c
r5fa506d r6262b5c 12 12 ============================================================================= 13 13 */ 14 15 #include "all.h" 14 16 15 17 int8_t *strfill(int8_t *s, int8_t c, uint16_t n) -
libsm/strlcmp.c
r5fa506d r6262b5c 15 15 */ 16 16 17 #include " strings.h"17 #include "all.h" 18 18 19 19 int16_t strlcmp(int8_t *s, int8_t *l[]) … … 33 33 return(0); 34 34 } 35 -
libsm/strlen.c
r5fa506d r6262b5c 8 8 */ 9 9 10 #include "all.h" 10 11 11 12 int16_t strlen(int8_t *s) -
libsm/strltrm.c
r5fa506d r6262b5c 8 8 */ 9 9 10 #include " stddefs.h"10 #include "all.h" 11 11 12 12 int8_t *strltrm(int8_t *s) … … 31 31 return(s); 32 32 } 33 -
libsm/strncat.c
r5fa506d r6262b5c 9 9 ============================================================================= 10 10 */ 11 12 #include "all.h" 11 13 12 14 int8_t *strncat(int8_t *s1, int8_t *s2, int16_t n) -
libsm/strncmp.c
r5fa506d r6262b5c 8 8 ============================================================================= 9 9 */ 10 11 #include "all.h" 10 12 11 13 int16_t strncmp(int8_t *s1, int8_t *s2, int16_t n) -
libsm/strncpy.c
r5fa506d r6262b5c 8 8 ============================================================================= 9 9 */ 10 11 #include "all.h" 10 12 11 13 int8_t *strncpy(int8_t *s1, int8_t *s2, int16_t n) -
libsm/strpbrk.c
r5fa506d r6262b5c 8 8 ============================================================================= 9 9 */ 10 11 #include "all.h" 10 12 11 13 int8_t *strpbrk(int8_t *string, int8_t *brkset) -
libsm/strrchr.c
r5fa506d r6262b5c 9 9 */ 10 10 11 # define NULL (int8_t *)011 #include "all.h" 12 12 13 13 int8_t *strrchr(int8_t *sp, int8_t c) -
libsm/strrev.c
r5fa506d r6262b5c 13 13 ============================================================================= 14 14 */ 15 16 #include "all.h" 15 17 16 18 int8_t *strrev(int8_t *s1, int8_t *s2) -
libsm/strrevi.c
r5fa506d r6262b5c 11 11 ============================================================================= 12 12 */ 13 14 #include "all.h" 13 15 14 16 int8_t *strrevi(int8_t *s) -
libsm/strrtrm.c
r5fa506d r6262b5c 8 8 */ 9 9 10 #include " stddefs.h"10 #include "all.h" 11 11 12 12 int8_t *strrtrm(int8_t *s) … … 30 30 return(lp); 31 31 } 32 -
libsm/strspn.c
r5fa506d r6262b5c 8 8 ============================================================================ 9 9 */ 10 11 #include "all.h" 10 12 11 13 int16_t strspn(int8_t *string, int8_t *charset) -
libsm/strtok.c
r5fa506d r6262b5c 11 11 */ 12 12 13 #define NULL (int8_t *)0 14 15 extern int16_t strspn(int8_t *string, int8_t *charset); 16 extern int8_t *strpbrk(int8_t *string, int8_t *brkset); 13 #include "all.h" 17 14 18 15 int8_t *strtok(int8_t *string, int8_t *sepset) -
libsm/strtol.c
r5fa506d r6262b5c 6 6 */ 7 7 8 #include " ctype.h"8 #include "all.h" 9 9 10 10 #define DIGIT(x) (isdigit(x) ? (x)-'0' : islower(x) ? (x)+10-'a' : (x)+10-'A') … … 67 67 return (neg ? val : -val); 68 68 } 69
Note:
See TracChangeset
for help on using the changeset viewer.