source:
CIVL/text/include/string.h@
098c8f6
| Last change on this file since 098c8f6 was 0822b02, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 273 bytes | |
| Line | |
|---|---|
| 1 | /* CIVL model of string.h */ |
| 2 | |
| 3 | #ifdef __CIVLC__ |
| 4 | #else |
| 5 | #include<civlc.h> |
| 6 | #endif |
| 7 | #include<string-common.h> |
| 8 | |
| 9 | /* Copies a region of memory */ |
| 10 | void memcpy(void *p, void *q, size_t size) { |
| 11 | $atom { |
| 12 | $bundle bundle = $bundle_pack(q, size); |
| 13 | $bundle_unpack(bundle, p); |
| 14 | } |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.
