Changeset 4c53333 in mainline for uspace/lib/posix/source/strings.c
- Timestamp:
- 2013-07-11T08:21:10Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 64e63ce1
- Parents:
- 80445cf (diff), c8bb1633 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/strings.c
r80445cf r4c53333 35 35 36 36 #define LIBPOSIX_INTERNAL 37 #define __POSIX_DEF__(x) posix_##x 37 38 38 39 #include "internal/common.h" 39 #include " strings.h"40 #include "posix/strings.h" 40 41 41 #include " string.h"42 #include " ctype.h"42 #include "posix/string.h" 43 #include "posix/ctype.h" 43 44 44 45 #include "libc/mem.h" … … 131 132 int posix_bcmp(const void *mem1, const void *mem2, size_t n) 132 133 { 133 return bcmp(mem1, mem2, n);134 return memcmp(mem1, mem2, n); 134 135 } 135 136 … … 155 156 void posix_bzero(void *mem, size_t n) 156 157 { 157 bzero(mem, n);158 memset(mem, 0, n); 158 159 } 159 160
Note:
See TracChangeset
for help on using the changeset viewer.