Changeset ab936440 in mainline for uspace/lib/c/generic/mem.c
- Timestamp:
- 2019-02-12T20:42:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f31ca47
- Parents:
- 7f7817a9 (diff), 4805495 (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. - git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:26:18)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:42:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/mem.c
r7f7817a9 rab936440 38 38 #include <stddef.h> 39 39 #include <stdint.h> 40 #include "private/cc.h" 40 41 41 42 /** Fill memory block with a constant value. */ 42 void *memset(void *dest, int b, size_t n) 43 ATTRIBUTE_OPTIMIZE_NO_TLDP 44 void *memset(void *dest, int b, size_t n) 43 45 { 44 46 char *pb; … … 114 116 115 117 /** Copy memory block. */ 116 void *memcpy(void *dst, const void *src, size_t n) 118 ATTRIBUTE_OPTIMIZE_NO_TLDP 119 void *memcpy(void *dst, const void *src, size_t n) 117 120 { 118 121 size_t i;
Note:
See TracChangeset
for help on using the changeset viewer.