Changeset 7848656 in buchla-68k for libsm/strccpy.c
- Timestamp:
- 07/09/2017 05:04:43 PM (7 years ago)
- Branches:
- master
- Children:
- 9519422
- Parents:
- bc11fc1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libsm/strccpy.c
rbc11fc1 r7848656 18 18 int8_t *strccpy(int8_t *s1, int8_t *s2, int8_t c) 19 19 { 20 20 register int8_t *os1; 21 21 register int8_t x; 22 22 23 23 os1 = s1; 24 24 25 25 while(c != (x = *s1++)) 26 26 *s2++ = x; 27 27 28 28 return(os1); 29 29 }
Note:
See TracChangeset
for help on using the changeset viewer.